Class CfnOrganizationConformancePackProps.Builder
java.lang.Object
software.amazon.awscdk.services.config.CfnOrganizationConformancePackProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOrganizationConformancePackProps>
- Enclosing interface:
CfnOrganizationConformancePackProps
@Stability(Stable)
public static final class CfnOrganizationConformancePackProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOrganizationConformancePackProps>
A builder for
CfnOrganizationConformancePackProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.conformancePackInputParameters
(List<? extends Object> conformancePackInputParameters) Sets the value ofCfnOrganizationConformancePackProps.getConformancePackInputParameters()
conformancePackInputParameters
(IResolvable conformancePackInputParameters) Sets the value ofCfnOrganizationConformancePackProps.getConformancePackInputParameters()
deliveryS3Bucket
(String deliveryS3Bucket) Sets the value ofCfnOrganizationConformancePackProps.getDeliveryS3Bucket()
deliveryS3KeyPrefix
(String deliveryS3KeyPrefix) Sets the value ofCfnOrganizationConformancePackProps.getDeliveryS3KeyPrefix()
excludedAccounts
(List<String> excludedAccounts) Sets the value ofCfnOrganizationConformancePackProps.getExcludedAccounts()
organizationConformancePackName
(String organizationConformancePackName) Sets the value ofCfnOrganizationConformancePackProps.getOrganizationConformancePackName()
templateBody
(String templateBody) Sets the value ofCfnOrganizationConformancePackProps.getTemplateBody()
templateS3Uri
(String templateS3Uri) Sets the value ofCfnOrganizationConformancePackProps.getTemplateS3Uri()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
organizationConformancePackName
@Stability(Stable) public CfnOrganizationConformancePackProps.Builder organizationConformancePackName(String organizationConformancePackName) Sets the value ofCfnOrganizationConformancePackProps.getOrganizationConformancePackName()
- Parameters:
organizationConformancePackName
- The name you assign to an organization conformance pack. This parameter is required.- Returns:
this
-
conformancePackInputParameters
@Stability(Stable) public CfnOrganizationConformancePackProps.Builder conformancePackInputParameters(IResolvable conformancePackInputParameters) Sets the value ofCfnOrganizationConformancePackProps.getConformancePackInputParameters()
- Parameters:
conformancePackInputParameters
- A list ofConformancePackInputParameter
objects.- Returns:
this
-
conformancePackInputParameters
@Stability(Stable) public CfnOrganizationConformancePackProps.Builder conformancePackInputParameters(List<? extends Object> conformancePackInputParameters) Sets the value ofCfnOrganizationConformancePackProps.getConformancePackInputParameters()
- Parameters:
conformancePackInputParameters
- A list ofConformancePackInputParameter
objects.- Returns:
this
-
deliveryS3Bucket
@Stability(Stable) public CfnOrganizationConformancePackProps.Builder deliveryS3Bucket(String deliveryS3Bucket) Sets the value ofCfnOrganizationConformancePackProps.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 CfnOrganizationConformancePackProps.Builder deliveryS3KeyPrefix(String deliveryS3KeyPrefix) Sets the value ofCfnOrganizationConformancePackProps.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 CfnOrganizationConformancePackProps.Builder excludedAccounts(List<String> excludedAccounts) Sets the value ofCfnOrganizationConformancePackProps.getExcludedAccounts()
- Parameters:
excludedAccounts
- A comma-separated list of accounts excluded from organization conformance pack.- Returns:
this
-
templateBody
@Stability(Stable) public CfnOrganizationConformancePackProps.Builder templateBody(String templateBody) Sets the value ofCfnOrganizationConformancePackProps.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 CfnOrganizationConformancePackProps.Builder templateS3Uri(String templateS3Uri) Sets the value ofCfnOrganizationConformancePackProps.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnOrganizationConformancePackProps>
- Returns:
- a new instance of
CfnOrganizationConformancePackProps
- Throws:
NullPointerException
- if any required attribute was not provided
-