InstanceAssociationOutputLocationProperty Struct
InstanceAssociationOutputLocation is a property of the AWS::SSM::Association resource that specifies an Amazon S3 bucket where you want to store the results of this association request.
For the minimal permissions required to enable Amazon S3 output for an association, see Creating associations in the Systems Manager User Guide .
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ssm as ssm } from 'aws-cdk-lib';
const instanceAssociationOutputLocationProperty: ssm.CfnAssociation.InstanceAssociationOutputLocationProperty = {
s3Location: {
outputS3BucketName: 'outputS3BucketName',
outputS3KeyPrefix: 'outputS3KeyPrefix',
outputS3Region: 'outputS3Region',
},
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ssm as ssm
instance_association_output_location_property = ssm.CfnAssociation.InstanceAssociationOutputLocationProperty(
s3_location=ssm.CfnAssociation.S3OutputLocationProperty(
output_s3_bucket_name="outputS3BucketName",
output_s3_key_prefix="outputS3KeyPrefix",
output_s3_region="outputS3Region"
)
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ssm.*;
InstanceAssociationOutputLocationProperty instanceAssociationOutputLocationProperty = InstanceAssociationOutputLocationProperty.builder()
.s3Location(S3OutputLocationProperty.builder()
.outputS3BucketName("outputS3BucketName")
.outputS3KeyPrefix("outputS3KeyPrefix")
.outputS3Region("outputS3Region")
.build())
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SSM;
var instanceAssociationOutputLocationProperty = new InstanceAssociationOutputLocationProperty {
S3Location = new S3OutputLocationProperty {
OutputS3BucketName = "outputS3BucketName",
OutputS3KeyPrefix = "outputS3KeyPrefix",
OutputS3Region = "outputS3Region"
}
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
instanceAssociationOutputLocationProperty := &InstanceAssociationOutputLocationProperty{
S3Location: &S3OutputLocationProperty{
OutputS3BucketName: jsii.String("outputS3BucketName"),
OutputS3KeyPrefix: jsii.String("outputS3KeyPrefix"),
OutputS3Region: jsii.String("outputS3Region"),
},
}
Properties
s3LocationoptionalIResolvable | CfnAssociation.s3_locationoptionaltyping.Union[IResolvable, S3OutputLocationProperty]s3LocationoptionalIResolvableS3LocationoptionalIResolvableS3Locationoptionalinterface{} #`S3OutputLocation` is a property of the InstanceAssociationOutputLocation property that specifies an Amazon S3 bucket where you want to store the results of this request.