Class CfnConformancePackPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.config.CfnConformancePackPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConformancePackPropsMixin>
- Enclosing class:
CfnConformancePackPropsMixin
@Stability(Stable)
public static final class CfnConformancePackPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConformancePackPropsMixin>
A fluent builder for
CfnConformancePackPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()conformancePackInputParameters(List<? extends Object> conformancePackInputParameters) A list of ConformancePackInputParameter objects.conformancePackInputParameters(IResolvable conformancePackInputParameters) A list of ConformancePackInputParameter objects.conformancePackName(String conformancePackName) Name of the conformance pack you want to create.create()create(CfnPropertyMixinOptions options) deliveryS3Bucket(String deliveryS3Bucket) The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.deliveryS3Bucket(IBucketRef deliveryS3Bucket) The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.deliveryS3KeyPrefix(String deliveryS3KeyPrefix) The prefix for the Amazon S3 bucket.templateBody(String templateBody) A string containing full conformance pack template body.templateS3Uri(String templateS3Uri) Location of file containing the template body (s3://bucketname/prefix).templateSsmDocumentDetails(Object templateSsmDocumentDetails) An object that contains the name or Amazon Resource Name (ARN) of the AWS Systems Manager document (SSM document) and the version of the SSM document that is used to create a conformance pack.
-
Method Details
-
create
@Stability(Stable) public static CfnConformancePackPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnConformancePackPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnConformancePackPropsMixin.Builder.
-
conformancePackInputParameters
@Stability(Stable) public CfnConformancePackPropsMixin.Builder conformancePackInputParameters(IResolvable conformancePackInputParameters) A list of ConformancePackInputParameter objects.- Parameters:
conformancePackInputParameters- A list of ConformancePackInputParameter objects. This parameter is required.- Returns:
this- See Also:
-
conformancePackInputParameters
@Stability(Stable) public CfnConformancePackPropsMixin.Builder conformancePackInputParameters(List<? extends Object> conformancePackInputParameters) A list of ConformancePackInputParameter objects.- Parameters:
conformancePackInputParameters- A list of ConformancePackInputParameter objects. This parameter is required.- Returns:
this- See Also:
-
conformancePackName
@Stability(Stable) public CfnConformancePackPropsMixin.Builder conformancePackName(String conformancePackName) Name of the conformance pack you want to create.- Parameters:
conformancePackName- Name of the conformance pack you want to create. This parameter is required.- Returns:
this- See Also:
-
deliveryS3Bucket
@Stability(Stable) public CfnConformancePackPropsMixin.Builder deliveryS3Bucket(String deliveryS3Bucket) The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.- Parameters:
deliveryS3Bucket- The name of the Amazon S3 bucket where AWS Config stores conformance pack templates. This parameter is required.- Returns:
this- See Also:
-
deliveryS3Bucket
@Stability(Stable) public CfnConformancePackPropsMixin.Builder deliveryS3Bucket(IBucketRef deliveryS3Bucket) The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.- Parameters:
deliveryS3Bucket- The name of the Amazon S3 bucket where AWS Config stores conformance pack templates. This parameter is required.- Returns:
this- See Also:
-
deliveryS3KeyPrefix
@Stability(Stable) public CfnConformancePackPropsMixin.Builder deliveryS3KeyPrefix(String deliveryS3KeyPrefix) The prefix for the Amazon S3 bucket.- Parameters:
deliveryS3KeyPrefix- The prefix for the Amazon S3 bucket. This parameter is required.- Returns:
this- See Also:
-
templateBody
A string containing full conformance pack template body.Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.
You can only use a YAML template with two resource types: config rule (
AWS::Config::ConfigRule) and a remediation action (AWS::Config::RemediationConfiguration).- Parameters:
templateBody- A string containing full conformance pack template body. This parameter is required.- Returns:
this- See Also:
-
templateS3Uri
Location of file containing the template body (s3://bucketname/prefix).The uri must point to the conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket.
You must have access to read Amazon S3 bucket.
- Parameters:
templateS3Uri- Location of file containing the template body (s3://bucketname/prefix). This parameter is required.- Returns:
this- See Also:
-
templateSsmDocumentDetails
@Stability(Stable) public CfnConformancePackPropsMixin.Builder templateSsmDocumentDetails(Object templateSsmDocumentDetails) An object that contains the name or Amazon Resource Name (ARN) of the AWS Systems Manager document (SSM document) and the version of the SSM document that is used to create a conformance pack.- Parameters:
templateSsmDocumentDetails- An object that contains the name or Amazon Resource Name (ARN) of the AWS Systems Manager document (SSM document) and the version of the SSM document that is used to create a conformance pack. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConformancePackPropsMixin>- Returns:
- a newly built instance of
CfnConformancePackPropsMixin.
-