cloudshift.awscdk.dsl.services.ssm.CfnAssociationS3OutputLocationPropertyDsl.kt Maven / Gradle / Ivy
@file:Suppress("RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION")
package cloudshift.awscdk.dsl.services.ssm
import cloudshift.awscdk.common.CdkDslMarker
import software.amazon.awscdk.services.ssm.CfnAssociation
import kotlin.String
/**
* `S3OutputLocation` 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.
*
* Example:
*
* ```
* // 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.*;
* S3OutputLocationProperty s3OutputLocationProperty = S3OutputLocationProperty.builder()
* .outputS3BucketName("outputS3BucketName")
* .outputS3KeyPrefix("outputS3KeyPrefix")
* .outputS3Region("outputS3Region")
* .build();
* ```
*
* [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ssm-association-s3outputlocation.html)
*/
@CdkDslMarker
public class CfnAssociationS3OutputLocationPropertyDsl {
private val cdkBuilder: CfnAssociation.S3OutputLocationProperty.Builder =
CfnAssociation.S3OutputLocationProperty.builder()
/**
* @param outputS3BucketName The name of the S3 bucket.
*/
public fun outputS3BucketName(outputS3BucketName: String) {
cdkBuilder.outputS3BucketName(outputS3BucketName)
}
/**
* @param outputS3KeyPrefix The S3 bucket subfolder.
*/
public fun outputS3KeyPrefix(outputS3KeyPrefix: String) {
cdkBuilder.outputS3KeyPrefix(outputS3KeyPrefix)
}
/**
* @param outputS3Region The AWS Region of the S3 bucket.
*/
public fun outputS3Region(outputS3Region: String) {
cdkBuilder.outputS3Region(outputS3Region)
}
public fun build(): CfnAssociation.S3OutputLocationProperty = cdkBuilder.build()
}