Class CfnOrganizationConformancePack
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::Config::OrganizationConformancePack.
OrganizationConformancePack deploys conformance packs across member accounts in an AWS Organizations . OrganizationConformancePack enables organization service access for config-multiaccountsetup.amazonaws.com through the EnableAWSServiceAccess action and creates a service linked role in the master account of your organization. The service linked role is created only when the role does not exist in the master account.
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.config.*;
CfnOrganizationConformancePack cfnOrganizationConformancePack = CfnOrganizationConformancePack.Builder.create(this, "MyCfnOrganizationConformancePack")
.organizationConformancePackName("organizationConformancePackName")
// the properties below are optional
.conformancePackInputParameters(List.of(ConformancePackInputParameterProperty.builder()
.parameterName("parameterName")
.parameterValue("parameterValue")
.build()))
.deliveryS3Bucket("deliveryS3Bucket")
.deliveryS3KeyPrefix("deliveryS3KeyPrefix")
.excludedAccounts(List.of("excludedAccounts"))
.templateBody("templateBody")
.templateS3Uri("templateS3Uri")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnOrganizationConformancePack.static interfaceInput parameters in the form of key-value pairs for the conformance pack, both of which you define.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnOrganizationConformancePack(Construct scope, String id, CfnOrganizationConformancePackProps props) Create a newAWS::Config::OrganizationConformancePack.protectedCfnOrganizationConformancePack(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnOrganizationConformancePack(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionA list ofConformancePackInputParameterobjects.The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.Any folder structure you want to add to an Amazon S3 bucket.A comma-separated list of accounts excluded from organization conformance pack.The name you assign to an organization conformance pack.A string containing full conformance pack template body.Location of file containing the template body.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidA list ofConformancePackInputParameterobjects.voidA list ofConformancePackInputParameterobjects.voidsetDeliveryS3Bucket(String value) The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.voidsetDeliveryS3KeyPrefix(String value) Any folder structure you want to add to an Amazon S3 bucket.voidsetExcludedAccounts(List<String> value) A comma-separated list of accounts excluded from organization conformance pack.voidThe name you assign to an organization conformance pack.voidsetTemplateBody(String value) A string containing full conformance pack template body.voidsetTemplateS3Uri(String value) Location of file containing the template body.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnOrganizationConformancePack
protected CfnOrganizationConformancePack(software.amazon.jsii.JsiiObjectRef objRef) -
CfnOrganizationConformancePack
protected CfnOrganizationConformancePack(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnOrganizationConformancePack
@Stability(Stable) public CfnOrganizationConformancePack(@NotNull Construct scope, @NotNull String id, @NotNull CfnOrganizationConformancePackProps props) Create a newAWS::Config::OrganizationConformancePack.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getOrganizationConformancePackName
The name you assign to an organization conformance pack. -
setOrganizationConformancePackName
The name you assign to an organization conformance pack. -
getConformancePackInputParameters
A list ofConformancePackInputParameterobjects. -
setConformancePackInputParameters
A list ofConformancePackInputParameterobjects. -
setConformancePackInputParameters
A list ofConformancePackInputParameterobjects. -
getDeliveryS3Bucket
The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.This field is optional.
-
setDeliveryS3Bucket
The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.This field is optional.
-
getDeliveryS3KeyPrefix
Any folder structure you want to add to an Amazon S3 bucket.This field is optional.
-
setDeliveryS3KeyPrefix
Any folder structure you want to add to an Amazon S3 bucket.This field is optional.
-
getExcludedAccounts
A comma-separated list of accounts excluded from organization conformance pack. -
setExcludedAccounts
A comma-separated list of accounts excluded from organization conformance pack. -
getTemplateBody
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.
-
setTemplateBody
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.
-
getTemplateS3Uri
Location of file containing the template body.The uri must point to the conformance pack template (max size: 300 KB).
-
setTemplateS3Uri
Location of file containing the template body.The uri must point to the conformance pack template (max size: 300 KB).
-