AWS Native is in preview. AWS Classic is fully supported.
aws-native.ssm.getAssociation
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:ssm:getAssociation
arguments:
# arguments dictionary
The following arguments are supported:
- Association
Id string Unique identifier of the association.
- Association
Id string Unique identifier of the association.
- association
Id String Unique identifier of the association.
- association
Id string Unique identifier of the association.
- association_
id str Unique identifier of the association.
- association
Id String Unique identifier of the association.
getAssociation Result
The following output properties are available:
- Apply
Only boolAt Cron Interval - Association
Id string Unique identifier of the association.
- Association
Name string The name of the association.
- Automation
Target stringParameter Name - Calendar
Names List<string> - Compliance
Severity Pulumi.Aws Native. Ssm. Association Compliance Severity - Document
Version string The version of the SSM document to associate with the target.
- Instance
Id string The ID of the instance that the SSM document is associated with.
- Max
Concurrency string - Max
Errors string - Name string
The name of the SSM document.
- Output
Location Pulumi.Aws Native. Ssm. Outputs. Association Instance Association Output Location - Parameters object
Parameter values that the SSM document uses at runtime.
- Schedule
Expression string A Cron or Rate expression that specifies when the association is applied to the target.
- Schedule
Offset int - Sync
Compliance Pulumi.Aws Native. Ssm. Association Sync Compliance - Targets
List<Pulumi.
Aws Native. Ssm. Outputs. Association Target> The targets that the SSM document sends commands to.
- Wait
For intSuccess Timeout Seconds
- Apply
Only boolAt Cron Interval - Association
Id string Unique identifier of the association.
- Association
Name string The name of the association.
- Automation
Target stringParameter Name - Calendar
Names []string - Compliance
Severity AssociationCompliance Severity - Document
Version string The version of the SSM document to associate with the target.
- Instance
Id string The ID of the instance that the SSM document is associated with.
- Max
Concurrency string - Max
Errors string - Name string
The name of the SSM document.
- Output
Location AssociationInstance Association Output Location - Parameters interface{}
Parameter values that the SSM document uses at runtime.
- Schedule
Expression string A Cron or Rate expression that specifies when the association is applied to the target.
- Schedule
Offset int - Sync
Compliance AssociationSync Compliance - Targets
[]Association
Target The targets that the SSM document sends commands to.
- Wait
For intSuccess Timeout Seconds
- apply
Only BooleanAt Cron Interval - association
Id String Unique identifier of the association.
- association
Name String The name of the association.
- automation
Target StringParameter Name - calendar
Names List<String> - compliance
Severity AssociationCompliance Severity - document
Version String The version of the SSM document to associate with the target.
- instance
Id String The ID of the instance that the SSM document is associated with.
- max
Concurrency String - max
Errors String - name String
The name of the SSM document.
- output
Location AssociationInstance Association Output Location - parameters Object
Parameter values that the SSM document uses at runtime.
- schedule
Expression String A Cron or Rate expression that specifies when the association is applied to the target.
- schedule
Offset Integer - sync
Compliance AssociationSync Compliance - targets
List<Association
Target> The targets that the SSM document sends commands to.
- wait
For IntegerSuccess Timeout Seconds
- apply
Only booleanAt Cron Interval - association
Id string Unique identifier of the association.
- association
Name string The name of the association.
- automation
Target stringParameter Name - calendar
Names string[] - compliance
Severity AssociationCompliance Severity - document
Version string The version of the SSM document to associate with the target.
- instance
Id string The ID of the instance that the SSM document is associated with.
- max
Concurrency string - max
Errors string - name string
The name of the SSM document.
- output
Location AssociationInstance Association Output Location - parameters any
Parameter values that the SSM document uses at runtime.
- schedule
Expression string A Cron or Rate expression that specifies when the association is applied to the target.
- schedule
Offset number - sync
Compliance AssociationSync Compliance - targets
Association
Target[] The targets that the SSM document sends commands to.
- wait
For numberSuccess Timeout Seconds
- apply_
only_ boolat_ cron_ interval - association_
id str Unique identifier of the association.
- association_
name str The name of the association.
- automation_
target_ strparameter_ name - calendar_
names Sequence[str] - compliance_
severity AssociationCompliance Severity - 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 - max_
errors str - name str
The name of the SSM document.
- output_
location AssociationInstance Association Output Location - parameters Any
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 - sync_
compliance AssociationSync Compliance - targets
Sequence[Association
Target] The targets that the SSM document sends commands to.
- wait_
for_ intsuccess_ timeout_ seconds
- apply
Only BooleanAt Cron Interval - association
Id String Unique identifier of the association.
- association
Name String The name of the association.
- automation
Target StringParameter Name - calendar
Names List<String> - compliance
Severity "CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "UNSPECIFIED" - document
Version String The version of the SSM document to associate with the target.
- instance
Id String The ID of the instance that the SSM document is associated with.
- max
Concurrency String - max
Errors String - name String
The name of the SSM document.
- output
Location Property Map - parameters Any
Parameter values that the SSM document uses at runtime.
- schedule
Expression String A Cron or Rate expression that specifies when the association is applied to the target.
- schedule
Offset Number - sync
Compliance "AUTO" | "MANUAL" - targets List<Property Map>
The targets that the SSM document sends commands to.
- wait
For NumberSuccess Timeout Seconds
Supporting Types
AssociationComplianceSeverity
AssociationInstanceAssociationOutputLocation
AssociationS3OutputLocation
- Output
S3Bucket stringName - Output
S3Key stringPrefix - Output
S3Region string
- Output
S3Bucket stringName - Output
S3Key stringPrefix - Output
S3Region string
- output
S3Bucket StringName - output
S3Key StringPrefix - output
S3Region String
- output
S3Bucket stringName - output
S3Key stringPrefix - output
S3Region string
- output
S3Bucket StringName - output
S3Key StringPrefix - output
S3Region String
AssociationSyncCompliance
AssociationTarget
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.