Class CfnOrganizationConformancePack.Builder
java.lang.Object
software.amazon.awscdk.services.config.CfnOrganizationConformancePack.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganizationConformancePack>
- Enclosing class:
CfnOrganizationConformancePack
@Stability(Stable)
public static final class CfnOrganizationConformancePack.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganizationConformancePack>
A fluent builder for
CfnOrganizationConformancePack.-
Method Summary
Modifier and TypeMethodDescriptionbuild()conformancePackInputParameters(List<? extends Object> conformancePackInputParameters) A list ofConformancePackInputParameterobjects.conformancePackInputParameters(IResolvable conformancePackInputParameters) A list ofConformancePackInputParameterobjects.deliveryS3Bucket(String deliveryS3Bucket) The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.deliveryS3KeyPrefix(String deliveryS3KeyPrefix) Any folder structure you want to add to an Amazon S3 bucket.excludedAccounts(List<String> excludedAccounts) A comma-separated list of accounts excluded from organization conformance pack.organizationConformancePackName(String organizationConformancePackName) The name you assign to an organization conformance pack.templateBody(String templateBody) A string containing full conformance pack template body.templateS3Uri(String templateS3Uri) Location of file containing the template body.
-
Method Details
-
create
@Stability(Stable) public static CfnOrganizationConformancePack.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnOrganizationConformancePack.Builder.
-
organizationConformancePackName
@Stability(Stable) public CfnOrganizationConformancePack.Builder organizationConformancePackName(String organizationConformancePackName) The name you assign to an organization conformance pack.- Parameters:
organizationConformancePackName- The name you assign to an organization conformance pack. This parameter is required.- Returns:
this- See Also:
-
conformancePackInputParameters
@Stability(Stable) public CfnOrganizationConformancePack.Builder conformancePackInputParameters(IResolvable conformancePackInputParameters) A list ofConformancePackInputParameterobjects.- Parameters:
conformancePackInputParameters- A list ofConformancePackInputParameterobjects. This parameter is required.- Returns:
this- See Also:
-
conformancePackInputParameters
@Stability(Stable) public CfnOrganizationConformancePack.Builder conformancePackInputParameters(List<? extends Object> conformancePackInputParameters) A list ofConformancePackInputParameterobjects.- Parameters:
conformancePackInputParameters- A list ofConformancePackInputParameterobjects. This parameter is required.- Returns:
this- See Also:
-
deliveryS3Bucket
@Stability(Stable) public CfnOrganizationConformancePack.Builder deliveryS3Bucket(String deliveryS3Bucket) The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.This field is optional.
- 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 CfnOrganizationConformancePack.Builder deliveryS3KeyPrefix(String deliveryS3KeyPrefix) Any folder structure you want to add to an Amazon S3 bucket.This field is optional.
- Parameters:
deliveryS3KeyPrefix- Any folder structure you want to add to an Amazon S3 bucket. This parameter is required.- Returns:
this- See Also:
-
excludedAccounts
@Stability(Stable) public CfnOrganizationConformancePack.Builder excludedAccounts(List<String> excludedAccounts) A comma-separated list of accounts excluded from organization conformance pack.- Parameters:
excludedAccounts- A comma-separated list of accounts excluded from organization conformance pack. 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.
- Parameters:
templateBody- A string containing full conformance pack template body. This parameter is required.- Returns:
this- See Also:
-
templateS3Uri
@Stability(Stable) public CfnOrganizationConformancePack.Builder templateS3Uri(String templateS3Uri) Location of file containing the template body.The uri must point to the conformance pack template (max size: 300 KB).
- Parameters:
templateS3Uri- Location of file containing the template body. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnOrganizationConformancePack>- Returns:
- a newly built instance of
CfnOrganizationConformancePack.
-