We recommend new projects start with resources from the AWS provider.
aws-native.ssm.getAssociation
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::SSM::Association resource associates an SSM document in AWS Systems Manager with EC2 instances that contain a configuration agent to process the document.
Using getAssociation
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAssociation(args: GetAssociationArgs, opts?: InvokeOptions): Promise<GetAssociationResult>
function getAssociationOutput(args: GetAssociationOutputArgs, opts?: InvokeOptions): Output<GetAssociationResult>def get_association(association_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetAssociationResult
def get_association_output(association_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetAssociationResult]func LookupAssociation(ctx *Context, args *LookupAssociationArgs, opts ...InvokeOption) (*LookupAssociationResult, error)
func LookupAssociationOutput(ctx *Context, args *LookupAssociationOutputArgs, opts ...InvokeOption) LookupAssociationResultOutput> Note: This function is named LookupAssociation in the Go SDK.
public static class GetAssociation 
{
    public static Task<GetAssociationResult> InvokeAsync(GetAssociationArgs args, InvokeOptions? opts = null)
    public static Output<GetAssociationResult> Invoke(GetAssociationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAssociationResult> getAssociation(GetAssociationArgs args, InvokeOptions options)
public static Output<GetAssociationResult> getAssociation(GetAssociationArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:ssm:getAssociation
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AssociationId string
- Unique identifier of the association.
- AssociationId string
- Unique identifier of the association.
- associationId String
- Unique identifier of the association.
- associationId string
- Unique identifier of the association.
- association_id str
- Unique identifier of the association.
- associationId String
- Unique identifier of the association.
getAssociation Result
The following output properties are available:
- ApplyOnly boolAt Cron Interval 
- By default, when you create a new association, the system runs it immediately after it is created and then according to the schedule you specified. Specify this option if you don't want an association to run immediately after you create it. This parameter is not supported for rate expressions.
- AssociationId string
- Unique identifier of the association.
- AssociationName string
- The name of the association.
- AutomationTarget stringParameter Name 
- Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a tool in AWS Systems Manager .
- CalendarNames List<string>
- The names or Amazon Resource Names (ARNs) of the Change Calendar type documents your associations are gated under. The associations only run when that Change Calendar is open. For more information, see AWS Systems Manager Change Calendar in the AWS Systems Manager User Guide .
- ComplianceSeverity Pulumi.Aws Native. Ssm. Association Compliance Severity 
- The severity level that is assigned to the association.
- DocumentVersion string
- The version of the SSM document to associate with the target.
- InstanceId string
- The ID of the instance that the SSM document is associated with.
- MaxConcurrency string
- The maximum number of targets allowed to run the association at the same time. You can specify a number, for example 10, or a percentage of the target set, for example 10%. The default value is 100%, which means all targets run the association at the same time. - If a new managed node starts and attempts to run an association while Systems Manager is running - MaxConcurrencyassociations, the association is allowed to run. During the next association interval, the new managed node will process its association within the limit specified for- MaxConcurrency.
- MaxErrors string
- The number of errors that are allowed before the system stops sending requests to run the association on additional targets. You can specify either an absolute number of errors, for example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, the system stops sending requests when the fourth error is received. If you specify 0, then the system stops sending requests after the first error is returned. If you run an association on 50 managed nodes and set - MaxErrorto 10%, then the system stops sending the request when the sixth error is received.- Executions that are already running an association when - MaxErrorsis reached are allowed to complete, but some of these executions may fail as well. If you need to ensure that there won't be more than max-errors failed executions, set- MaxConcurrencyto 1 so that executions proceed one at a time.
- Name string
- The name of the SSM document.
- OutputLocation Pulumi.Aws Native. Ssm. Outputs. Association Instance Association Output Location 
- An Amazon Simple Storage Service (Amazon S3) bucket where you want to store the output details of the request.
- Parameters
Dictionary<string, ImmutableArray<string>> 
- Parameter values that the SSM document uses at runtime.
- ScheduleExpression string
- A Cron or Rate expression that specifies when the association is applied to the target.
- ScheduleOffset int
- Number of days to wait after the scheduled day to run an association.
- SyncCompliance Pulumi.Aws Native. Ssm. Association Sync Compliance 
- The mode for generating association compliance. You can specify - AUTOor- MANUAL. In- AUTOmode, the system uses the status of the association execution to determine the compliance status. If the association execution runs successfully, then the association is- COMPLIANT. If the association execution doesn't run successfully, the association is- NON-COMPLIANT.- In - MANUALmode, you must specify the- AssociationIdas a parameter for the- PutComplianceItemsAPI action. In this case, compliance data is not managed by State Manager. It is managed by your direct call to the- PutComplianceItemsAPI action.- By default, all associations use - AUTOmode.
- Targets
List<Pulumi.Aws Native. Ssm. Outputs. Association Target> 
- The targets that the SSM document sends commands to.
- ApplyOnly boolAt Cron Interval 
- By default, when you create a new association, the system runs it immediately after it is created and then according to the schedule you specified. Specify this option if you don't want an association to run immediately after you create it. This parameter is not supported for rate expressions.
- AssociationId string
- Unique identifier of the association.
- AssociationName string
- The name of the association.
- AutomationTarget stringParameter Name 
- Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a tool in AWS Systems Manager .
- CalendarNames []string
- The names or Amazon Resource Names (ARNs) of the Change Calendar type documents your associations are gated under. The associations only run when that Change Calendar is open. For more information, see AWS Systems Manager Change Calendar in the AWS Systems Manager User Guide .
- ComplianceSeverity AssociationCompliance Severity 
- The severity level that is assigned to the association.
- DocumentVersion string
- The version of the SSM document to associate with the target.
- InstanceId string
- The ID of the instance that the SSM document is associated with.
- MaxConcurrency string
- The maximum number of targets allowed to run the association at the same time. You can specify a number, for example 10, or a percentage of the target set, for example 10%. The default value is 100%, which means all targets run the association at the same time. - If a new managed node starts and attempts to run an association while Systems Manager is running - MaxConcurrencyassociations, the association is allowed to run. During the next association interval, the new managed node will process its association within the limit specified for- MaxConcurrency.
- MaxErrors string
- The number of errors that are allowed before the system stops sending requests to run the association on additional targets. You can specify either an absolute number of errors, for example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, the system stops sending requests when the fourth error is received. If you specify 0, then the system stops sending requests after the first error is returned. If you run an association on 50 managed nodes and set - MaxErrorto 10%, then the system stops sending the request when the sixth error is received.- Executions that are already running an association when - MaxErrorsis reached are allowed to complete, but some of these executions may fail as well. If you need to ensure that there won't be more than max-errors failed executions, set- MaxConcurrencyto 1 so that executions proceed one at a time.
- Name string
- The name of the SSM document.
- OutputLocation AssociationInstance Association Output Location 
- An Amazon Simple Storage Service (Amazon S3) bucket where you want to store the output details of the request.
- Parameters map[string][]string
- Parameter values that the SSM document uses at runtime.
- ScheduleExpression string
- A Cron or Rate expression that specifies when the association is applied to the target.
- ScheduleOffset int
- Number of days to wait after the scheduled day to run an association.
- SyncCompliance AssociationSync Compliance 
- The mode for generating association compliance. You can specify - AUTOor- MANUAL. In- AUTOmode, the system uses the status of the association execution to determine the compliance status. If the association execution runs successfully, then the association is- COMPLIANT. If the association execution doesn't run successfully, the association is- NON-COMPLIANT.- In - MANUALmode, you must specify the- AssociationIdas a parameter for the- PutComplianceItemsAPI action. In this case, compliance data is not managed by State Manager. It is managed by your direct call to the- PutComplianceItemsAPI action.- By default, all associations use - AUTOmode.
- Targets
[]AssociationTarget 
- The targets that the SSM document sends commands to.
- applyOnly BooleanAt Cron Interval 
- By default, when you create a new association, the system runs it immediately after it is created and then according to the schedule you specified. Specify this option if you don't want an association to run immediately after you create it. This parameter is not supported for rate expressions.
- associationId String
- Unique identifier of the association.
- associationName String
- The name of the association.
- automationTarget StringParameter Name 
- Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a tool in AWS Systems Manager .
- calendarNames List<String>
- The names or Amazon Resource Names (ARNs) of the Change Calendar type documents your associations are gated under. The associations only run when that Change Calendar is open. For more information, see AWS Systems Manager Change Calendar in the AWS Systems Manager User Guide .
- complianceSeverity AssociationCompliance Severity 
- The severity level that is assigned to the association.
- documentVersion String
- The version of the SSM document to associate with the target.
- instanceId String
- The ID of the instance that the SSM document is associated with.
- maxConcurrency String
- The maximum number of targets allowed to run the association at the same time. You can specify a number, for example 10, or a percentage of the target set, for example 10%. The default value is 100%, which means all targets run the association at the same time. - If a new managed node starts and attempts to run an association while Systems Manager is running - MaxConcurrencyassociations, the association is allowed to run. During the next association interval, the new managed node will process its association within the limit specified for- MaxConcurrency.
- maxErrors String
- The number of errors that are allowed before the system stops sending requests to run the association on additional targets. You can specify either an absolute number of errors, for example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, the system stops sending requests when the fourth error is received. If you specify 0, then the system stops sending requests after the first error is returned. If you run an association on 50 managed nodes and set - MaxErrorto 10%, then the system stops sending the request when the sixth error is received.- Executions that are already running an association when - MaxErrorsis reached are allowed to complete, but some of these executions may fail as well. If you need to ensure that there won't be more than max-errors failed executions, set- MaxConcurrencyto 1 so that executions proceed one at a time.
- name String
- The name of the SSM document.
- outputLocation AssociationInstance Association Output Location 
- An Amazon Simple Storage Service (Amazon S3) bucket where you want to store the output details of the request.
- parameters Map<String,List<String>>
- Parameter values that the SSM document uses at runtime.
- scheduleExpression String
- A Cron or Rate expression that specifies when the association is applied to the target.
- scheduleOffset Integer
- Number of days to wait after the scheduled day to run an association.
- syncCompliance AssociationSync Compliance 
- The mode for generating association compliance. You can specify - AUTOor- MANUAL. In- AUTOmode, the system uses the status of the association execution to determine the compliance status. If the association execution runs successfully, then the association is- COMPLIANT. If the association execution doesn't run successfully, the association is- NON-COMPLIANT.- In - MANUALmode, you must specify the- AssociationIdas a parameter for the- PutComplianceItemsAPI action. In this case, compliance data is not managed by State Manager. It is managed by your direct call to the- PutComplianceItemsAPI action.- By default, all associations use - AUTOmode.
- targets
List<AssociationTarget> 
- The targets that the SSM document sends commands to.
- applyOnly booleanAt Cron Interval 
- By default, when you create a new association, the system runs it immediately after it is created and then according to the schedule you specified. Specify this option if you don't want an association to run immediately after you create it. This parameter is not supported for rate expressions.
- associationId string
- Unique identifier of the association.
- associationName string
- The name of the association.
- automationTarget stringParameter Name 
- Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a tool in AWS Systems Manager .
- calendarNames string[]
- The names or Amazon Resource Names (ARNs) of the Change Calendar type documents your associations are gated under. The associations only run when that Change Calendar is open. For more information, see AWS Systems Manager Change Calendar in the AWS Systems Manager User Guide .
- complianceSeverity AssociationCompliance Severity 
- The severity level that is assigned to the association.
- documentVersion string
- The version of the SSM document to associate with the target.
- instanceId string
- The ID of the instance that the SSM document is associated with.
- maxConcurrency string
- The maximum number of targets allowed to run the association at the same time. You can specify a number, for example 10, or a percentage of the target set, for example 10%. The default value is 100%, which means all targets run the association at the same time. - If a new managed node starts and attempts to run an association while Systems Manager is running - MaxConcurrencyassociations, the association is allowed to run. During the next association interval, the new managed node will process its association within the limit specified for- MaxConcurrency.
- maxErrors string
- The number of errors that are allowed before the system stops sending requests to run the association on additional targets. You can specify either an absolute number of errors, for example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, the system stops sending requests when the fourth error is received. If you specify 0, then the system stops sending requests after the first error is returned. If you run an association on 50 managed nodes and set - MaxErrorto 10%, then the system stops sending the request when the sixth error is received.- Executions that are already running an association when - MaxErrorsis reached are allowed to complete, but some of these executions may fail as well. If you need to ensure that there won't be more than max-errors failed executions, set- MaxConcurrencyto 1 so that executions proceed one at a time.
- name string
- The name of the SSM document.
- outputLocation AssociationInstance Association Output Location 
- An Amazon Simple Storage Service (Amazon S3) bucket where you want to store the output details of the request.
- parameters {[key: string]: string[]}
- Parameter values that the SSM document uses at runtime.
- scheduleExpression string
- A Cron or Rate expression that specifies when the association is applied to the target.
- scheduleOffset number
- Number of days to wait after the scheduled day to run an association.
- syncCompliance AssociationSync Compliance 
- The mode for generating association compliance. You can specify - AUTOor- MANUAL. In- AUTOmode, the system uses the status of the association execution to determine the compliance status. If the association execution runs successfully, then the association is- COMPLIANT. If the association execution doesn't run successfully, the association is- NON-COMPLIANT.- In - MANUALmode, you must specify the- AssociationIdas a parameter for the- PutComplianceItemsAPI action. In this case, compliance data is not managed by State Manager. It is managed by your direct call to the- PutComplianceItemsAPI action.- By default, all associations use - AUTOmode.
- targets
AssociationTarget[] 
- The targets that the SSM document sends commands to.
- apply_only_ boolat_ cron_ interval 
- By default, when you create a new association, the system runs it immediately after it is created and then according to the schedule you specified. Specify this option if you don't want an association to run immediately after you create it. This parameter is not supported for rate expressions.
- association_id str
- Unique identifier of the association.
- association_name str
- The name of the association.
- automation_target_ strparameter_ name 
- Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a tool in AWS Systems Manager .
- calendar_names Sequence[str]
- The names or Amazon Resource Names (ARNs) of the Change Calendar type documents your associations are gated under. The associations only run when that Change Calendar is open. For more information, see AWS Systems Manager Change Calendar in the AWS Systems Manager User Guide .
- compliance_severity AssociationCompliance Severity 
- The severity level that is assigned to the association.
- document_version str
- The version of the SSM document to associate with the target.
- instance_id str
- The ID of the instance that the SSM document is associated with.
- max_concurrency str
- The maximum number of targets allowed to run the association at the same time. You can specify a number, for example 10, or a percentage of the target set, for example 10%. The default value is 100%, which means all targets run the association at the same time. - If a new managed node starts and attempts to run an association while Systems Manager is running - MaxConcurrencyassociations, the association is allowed to run. During the next association interval, the new managed node will process its association within the limit specified for- MaxConcurrency.
- max_errors str
- The number of errors that are allowed before the system stops sending requests to run the association on additional targets. You can specify either an absolute number of errors, for example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, the system stops sending requests when the fourth error is received. If you specify 0, then the system stops sending requests after the first error is returned. If you run an association on 50 managed nodes and set - MaxErrorto 10%, then the system stops sending the request when the sixth error is received.- Executions that are already running an association when - MaxErrorsis reached are allowed to complete, but some of these executions may fail as well. If you need to ensure that there won't be more than max-errors failed executions, set- MaxConcurrencyto 1 so that executions proceed one at a time.
- name str
- The name of the SSM document.
- output_location AssociationInstance Association Output Location 
- An Amazon Simple Storage Service (Amazon S3) bucket where you want to store the output details of the request.
- parameters Mapping[str, Sequence[str]]
- Parameter values that the SSM document uses at runtime.
- schedule_expression str
- A Cron or Rate expression that specifies when the association is applied to the target.
- schedule_offset int
- Number of days to wait after the scheduled day to run an association.
- sync_compliance AssociationSync Compliance 
- The mode for generating association compliance. You can specify - AUTOor- MANUAL. In- AUTOmode, the system uses the status of the association execution to determine the compliance status. If the association execution runs successfully, then the association is- COMPLIANT. If the association execution doesn't run successfully, the association is- NON-COMPLIANT.- In - MANUALmode, you must specify the- AssociationIdas a parameter for the- PutComplianceItemsAPI action. In this case, compliance data is not managed by State Manager. It is managed by your direct call to the- PutComplianceItemsAPI action.- By default, all associations use - AUTOmode.
- targets
Sequence[AssociationTarget] 
- The targets that the SSM document sends commands to.
- applyOnly BooleanAt Cron Interval 
- By default, when you create a new association, the system runs it immediately after it is created and then according to the schedule you specified. Specify this option if you don't want an association to run immediately after you create it. This parameter is not supported for rate expressions.
- associationId String
- Unique identifier of the association.
- associationName String
- The name of the association.
- automationTarget StringParameter Name 
- Choose the parameter that will define how your automation will branch out. This target is required for associations that use an Automation runbook and target resources by using rate controls. Automation is a tool in AWS Systems Manager .
- calendarNames List<String>
- The names or Amazon Resource Names (ARNs) of the Change Calendar type documents your associations are gated under. The associations only run when that Change Calendar is open. For more information, see AWS Systems Manager Change Calendar in the AWS Systems Manager User Guide .
- complianceSeverity "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "UNSPECIFIED"
- The severity level that is assigned to the association.
- documentVersion String
- The version of the SSM document to associate with the target.
- instanceId String
- The ID of the instance that the SSM document is associated with.
- maxConcurrency String
- The maximum number of targets allowed to run the association at the same time. You can specify a number, for example 10, or a percentage of the target set, for example 10%. The default value is 100%, which means all targets run the association at the same time. - If a new managed node starts and attempts to run an association while Systems Manager is running - MaxConcurrencyassociations, the association is allowed to run. During the next association interval, the new managed node will process its association within the limit specified for- MaxConcurrency.
- maxErrors String
- The number of errors that are allowed before the system stops sending requests to run the association on additional targets. You can specify either an absolute number of errors, for example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, the system stops sending requests when the fourth error is received. If you specify 0, then the system stops sending requests after the first error is returned. If you run an association on 50 managed nodes and set - MaxErrorto 10%, then the system stops sending the request when the sixth error is received.- Executions that are already running an association when - MaxErrorsis reached are allowed to complete, but some of these executions may fail as well. If you need to ensure that there won't be more than max-errors failed executions, set- MaxConcurrencyto 1 so that executions proceed one at a time.
- name String
- The name of the SSM document.
- outputLocation Property Map
- An Amazon Simple Storage Service (Amazon S3) bucket where you want to store the output details of the request.
- parameters Map<List<String>>
- Parameter values that the SSM document uses at runtime.
- scheduleExpression String
- A Cron or Rate expression that specifies when the association is applied to the target.
- scheduleOffset Number
- Number of days to wait after the scheduled day to run an association.
- syncCompliance "AUTO" | "MANUAL"
- The mode for generating association compliance. You can specify - AUTOor- MANUAL. In- AUTOmode, the system uses the status of the association execution to determine the compliance status. If the association execution runs successfully, then the association is- COMPLIANT. If the association execution doesn't run successfully, the association is- NON-COMPLIANT.- In - MANUALmode, you must specify the- AssociationIdas a parameter for the- PutComplianceItemsAPI action. In this case, compliance data is not managed by State Manager. It is managed by your direct call to the- PutComplianceItemsAPI action.- By default, all associations use - AUTOmode.
- targets List<Property Map>
- The targets that the SSM document sends commands to.
Supporting Types
AssociationComplianceSeverity  
AssociationInstanceAssociationOutputLocation    
- S3Location
Pulumi.Aws Native. Ssm. Inputs. Association S3Output Location 
- S3OutputLocationis a property of the InstanceAssociationOutputLocation property that specifies an Amazon S3 bucket where you want to store the results of this request.
- S3Location
AssociationS3Output Location 
- S3OutputLocationis a property of the InstanceAssociationOutputLocation property that specifies an Amazon S3 bucket where you want to store the results of this request.
- s3Location
AssociationS3Output Location 
- S3OutputLocationis a property of the InstanceAssociationOutputLocation property that specifies an Amazon S3 bucket where you want to store the results of this request.
- s3Location
AssociationS3Output Location 
- S3OutputLocationis a property of the InstanceAssociationOutputLocation property that specifies an Amazon S3 bucket where you want to store the results of this request.
- s3_location AssociationS3Output Location 
- S3OutputLocationis a property of the InstanceAssociationOutputLocation property that specifies an Amazon S3 bucket where you want to store the results of this request.
- s3Location Property Map
- S3OutputLocationis a property of the InstanceAssociationOutputLocation property that specifies an Amazon S3 bucket where you want to store the results of this request.
AssociationS3OutputLocation  
- OutputS3Bucket stringName 
- The name of the S3 bucket.
- OutputS3Key stringPrefix 
- The S3 bucket subfolder.
- OutputS3Region string
- The AWS Region of the S3 bucket.
- OutputS3Bucket stringName 
- The name of the S3 bucket.
- OutputS3Key stringPrefix 
- The S3 bucket subfolder.
- OutputS3Region string
- The AWS Region of the S3 bucket.
- outputS3Bucket StringName 
- The name of the S3 bucket.
- outputS3Key StringPrefix 
- The S3 bucket subfolder.
- outputS3Region String
- The AWS Region of the S3 bucket.
- outputS3Bucket stringName 
- The name of the S3 bucket.
- outputS3Key stringPrefix 
- The S3 bucket subfolder.
- outputS3Region string
- The AWS Region of the S3 bucket.
- output_s3_ strbucket_ name 
- The name of the S3 bucket.
- output_s3_ strkey_ prefix 
- The S3 bucket subfolder.
- output_s3_ strregion 
- The AWS Region of the S3 bucket.
- outputS3Bucket StringName 
- The name of the S3 bucket.
- outputS3Key StringPrefix 
- The S3 bucket subfolder.
- outputS3Region String
- The AWS Region of the S3 bucket.
AssociationSyncCompliance  
AssociationTarget 
- Key string
- User-defined criteria for sending commands that target managed nodes that meet the criteria.
- Values List<string>
- User-defined criteria that maps to - Key. For example, if you specified- tag:ServerRole, you could specify- value:WebServerto run a command on instances that include EC2 tags of- ServerRole,WebServer.- Depending on the type of target, the maximum number of values for a key might be lower than the global maximum of 50. 
- Key string
- User-defined criteria for sending commands that target managed nodes that meet the criteria.
- Values []string
- User-defined criteria that maps to - Key. For example, if you specified- tag:ServerRole, you could specify- value:WebServerto run a command on instances that include EC2 tags of- ServerRole,WebServer.- Depending on the type of target, the maximum number of values for a key might be lower than the global maximum of 50. 
- key String
- User-defined criteria for sending commands that target managed nodes that meet the criteria.
- values List<String>
- User-defined criteria that maps to - Key. For example, if you specified- tag:ServerRole, you could specify- value:WebServerto run a command on instances that include EC2 tags of- ServerRole,WebServer.- Depending on the type of target, the maximum number of values for a key might be lower than the global maximum of 50. 
- key string
- User-defined criteria for sending commands that target managed nodes that meet the criteria.
- values string[]
- User-defined criteria that maps to - Key. For example, if you specified- tag:ServerRole, you could specify- value:WebServerto run a command on instances that include EC2 tags of- ServerRole,WebServer.- Depending on the type of target, the maximum number of values for a key might be lower than the global maximum of 50. 
- key str
- User-defined criteria for sending commands that target managed nodes that meet the criteria.
- values Sequence[str]
- User-defined criteria that maps to - Key. For example, if you specified- tag:ServerRole, you could specify- value:WebServerto run a command on instances that include EC2 tags of- ServerRole,WebServer.- Depending on the type of target, the maximum number of values for a key might be lower than the global maximum of 50. 
- key String
- User-defined criteria for sending commands that target managed nodes that meet the criteria.
- values List<String>
- User-defined criteria that maps to - Key. For example, if you specified- tag:ServerRole, you could specify- value:WebServerto run a command on instances that include EC2 tags of- ServerRole,WebServer.- Depending on the type of target, the maximum number of values for a key might be lower than the global maximum of 50. 
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.