Class CfnOrganizationConformancePack
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.config.CfnOrganizationConformancePack
- All Implemented Interfaces:
IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-09-11T18:01:13.583Z")
@Stability(Stable)
public class CfnOrganizationConformancePack
extends CfnResource
implements IInspectable
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();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnOrganizationConformancePack
.static interface
Input 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.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnOrganizationConformancePack
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnOrganizationConformancePack
(software.amazon.jsii.JsiiObjectRef objRef) CfnOrganizationConformancePack
(software.constructs.Construct scope, String id, CfnOrganizationConformancePackProps props) -
Method Summary
Modifier and TypeMethodDescriptionA list ofConformancePackInputParameter
objects.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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
A list ofConformancePackInputParameter
objects.void
A list ofConformancePackInputParameter
objects.void
setDeliveryS3Bucket
(String value) The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.void
setDeliveryS3KeyPrefix
(String value) Any folder structure you want to add to an Amazon S3 bucket.void
setExcludedAccounts
(List<String> value) A comma-separated list of accounts excluded from organization conformance pack.void
The name you assign to an organization conformance pack.void
setTemplateBody
(String value) A string containing full conformance pack template body.void
setTemplateS3Uri
(String value) Location of file containing the template body.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnOrganizationConformancePackProps props) - 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.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getOrganizationConformancePackName
The name you assign to an organization conformance pack. -
setOrganizationConformancePackName
The name you assign to an organization conformance pack. -
getConformancePackInputParameters
A list ofConformancePackInputParameter
objects. -
setConformancePackInputParameters
A list ofConformancePackInputParameter
objects. -
setConformancePackInputParameters
A list ofConformancePackInputParameter
objects. -
getDeliveryS3Bucket
The name of the Amazon S3 bucket where AWS Config stores conformance pack templates. -
setDeliveryS3Bucket
The name of the Amazon S3 bucket where AWS Config stores conformance pack templates. -
getDeliveryS3KeyPrefix
Any folder structure you want to add to an Amazon S3 bucket. -
setDeliveryS3KeyPrefix
Any folder structure you want to add to an Amazon S3 bucket. -
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. -
setTemplateBody
A string containing full conformance pack template body. -
getTemplateS3Uri
Location of file containing the template body. -
setTemplateS3Uri
Location of file containing the template body.
-