Class CfnOrganizationConformancePackMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.config.CfnOrganizationConformancePackMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganizationConformancePackMixinProps>
- Enclosing interface:
CfnOrganizationConformancePackMixinProps
@Stability(Stable)
public static final class CfnOrganizationConformancePackMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganizationConformancePackMixinProps>
A builder for
CfnOrganizationConformancePackMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.conformancePackInputParameters(List<? extends Object> conformancePackInputParameters) conformancePackInputParameters(IResolvable conformancePackInputParameters) deliveryS3Bucket(String deliveryS3Bucket) Sets the value ofCfnOrganizationConformancePackMixinProps.getDeliveryS3Bucket()deliveryS3KeyPrefix(String deliveryS3KeyPrefix) Sets the value ofCfnOrganizationConformancePackMixinProps.getDeliveryS3KeyPrefix()excludedAccounts(List<String> excludedAccounts) Sets the value ofCfnOrganizationConformancePackMixinProps.getExcludedAccounts()organizationConformancePackName(String organizationConformancePackName) templateBody(String templateBody) Sets the value ofCfnOrganizationConformancePackMixinProps.getTemplateBody()templateS3Uri(String templateS3Uri) Sets the value ofCfnOrganizationConformancePackMixinProps.getTemplateS3Uri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
conformancePackInputParameters
@Stability(Stable) public CfnOrganizationConformancePackMixinProps.Builder conformancePackInputParameters(IResolvable conformancePackInputParameters) - Parameters:
conformancePackInputParameters- A list ofConformancePackInputParameterobjects.- Returns:
this
-
conformancePackInputParameters
@Stability(Stable) public CfnOrganizationConformancePackMixinProps.Builder conformancePackInputParameters(List<? extends Object> conformancePackInputParameters) - Parameters:
conformancePackInputParameters- A list ofConformancePackInputParameterobjects.- Returns:
this
-
deliveryS3Bucket
@Stability(Stable) public CfnOrganizationConformancePackMixinProps.Builder deliveryS3Bucket(String deliveryS3Bucket) Sets the value ofCfnOrganizationConformancePackMixinProps.getDeliveryS3Bucket()- Parameters:
deliveryS3Bucket- The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.This field is optional.
- Returns:
this
-
deliveryS3KeyPrefix
@Stability(Stable) public CfnOrganizationConformancePackMixinProps.Builder deliveryS3KeyPrefix(String deliveryS3KeyPrefix) Sets the value ofCfnOrganizationConformancePackMixinProps.getDeliveryS3KeyPrefix()- Parameters:
deliveryS3KeyPrefix- Any folder structure you want to add to an Amazon S3 bucket.This field is optional.
- Returns:
this
-
excludedAccounts
@Stability(Stable) public CfnOrganizationConformancePackMixinProps.Builder excludedAccounts(List<String> excludedAccounts) Sets the value ofCfnOrganizationConformancePackMixinProps.getExcludedAccounts()- Parameters:
excludedAccounts- A comma-separated list of accounts excluded from organization conformance pack.- Returns:
this
-
organizationConformancePackName
@Stability(Stable) public CfnOrganizationConformancePackMixinProps.Builder organizationConformancePackName(String organizationConformancePackName) - Parameters:
organizationConformancePackName- The name you assign to an organization conformance pack.- Returns:
this
-
templateBody
@Stability(Stable) public CfnOrganizationConformancePackMixinProps.Builder templateBody(String templateBody) Sets the value ofCfnOrganizationConformancePackMixinProps.getTemplateBody()- Parameters:
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.- Returns:
this
-
templateS3Uri
@Stability(Stable) public CfnOrganizationConformancePackMixinProps.Builder templateS3Uri(String templateS3Uri) Sets the value ofCfnOrganizationConformancePackMixinProps.getTemplateS3Uri()- Parameters:
templateS3Uri- Location of file containing the template body. The uri must point to the conformance pack template (max size: 300 KB).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOrganizationConformancePackMixinProps>- Returns:
- a new instance of
CfnOrganizationConformancePackMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-