# InstanceAssociationOutputLocationProperty

`InstanceAssociationOutputLocation` is a property of the [AWS::SSM::Association](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-association.html) 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](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-state-assoc.html) in the *Systems Manager User Guide* .

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
    }
};
```

Golang:

```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

- `s3Location`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnAssociation.S3OutputLocationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ssm.CfnAssociation.S3OutputLocationProperty.html) — `S3OutputLocation` is a property of the [InstanceAssociationOutputLocation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-association-instanceassociationoutputlocation.html) property that specifies an Amazon S3 bucket where you want to store the results of this request.
