@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:50.728Z") public class CfnConfigurationAggregator extends CfnResource implements IInspectable
The details about the configuration aggregator, including information about source accounts, regions, and metadata of the aggregator.
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.*; CfnConfigurationAggregator cfnConfigurationAggregator = CfnConfigurationAggregator.Builder.create(this, "MyCfnConfigurationAggregator") .accountAggregationSources(List.of(AccountAggregationSourceProperty.builder() .accountIds(List.of("accountIds")) // the properties below are optional .allAwsRegions(false) .awsRegions(List.of("awsRegions")) .build())) .configurationAggregatorName("configurationAggregatorName") .organizationAggregationSource(OrganizationAggregationSourceProperty.builder() .roleArn("roleArn") // the properties below are optional .allAwsRegions(false) .awsRegions(List.of("awsRegions")) .build()) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Class and Description |
---|---|
static interface |
CfnConfigurationAggregator.AccountAggregationSourceProperty
A collection of accounts and regions.
|
static class |
CfnConfigurationAggregator.Builder
A fluent builder for
CfnConfigurationAggregator . |
static interface |
CfnConfigurationAggregator.OrganizationAggregationSourceProperty
This object contains regions to set up the aggregator and an IAM role to retrieve organization details.
|
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnConfigurationAggregator(Construct scope,
java.lang.String id)
Create a new `AWS::Config::ConfigurationAggregator`.
|
|
CfnConfigurationAggregator(Construct scope,
java.lang.String id,
CfnConfigurationAggregatorProps props)
Create a new `AWS::Config::ConfigurationAggregator`.
|
protected |
CfnConfigurationAggregator(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnConfigurationAggregator(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAccountAggregationSources()
Provides a list of source accounts and regions to be aggregated.
|
java.lang.String |
getAttrConfigurationAggregatorArn()
The Amazon Resource Name (ARN) of the aggregator.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.String |
getConfigurationAggregatorName()
The name of the aggregator.
|
java.lang.Object |
getOrganizationAggregationSource()
Provides an organization and list of regions to be aggregated.
|
TagManager |
getTags()
An array of tag object.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setAccountAggregationSources(IResolvable value)
Provides a list of source accounts and regions to be aggregated.
|
void |
setAccountAggregationSources(java.util.List<java.lang.Object> value)
Provides a list of source accounts and regions to be aggregated.
|
void |
setConfigurationAggregatorName(java.lang.String value)
The name of the aggregator.
|
void |
setOrganizationAggregationSource(CfnConfigurationAggregator.OrganizationAggregationSourceProperty value)
Provides an organization and list of regions to be aggregated.
|
void |
setOrganizationAggregationSource(IResolvable value)
Provides an organization and list of regions to be aggregated.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnConfigurationAggregator(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnConfigurationAggregator(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnConfigurationAggregator(Construct scope, java.lang.String id, CfnConfigurationAggregatorProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties.public CfnConfigurationAggregator(Construct scope, java.lang.String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.public java.lang.String getAttrConfigurationAggregatorArn()
protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public TagManager getTags()
public java.lang.Object getAccountAggregationSources()
public void setAccountAggregationSources(IResolvable value)
public void setAccountAggregationSources(java.util.List<java.lang.Object> value)
public java.lang.String getConfigurationAggregatorName()
public void setConfigurationAggregatorName(java.lang.String value)
public java.lang.Object getOrganizationAggregationSource()
public void setOrganizationAggregationSource(IResolvable value)
public void setOrganizationAggregationSource(CfnConfigurationAggregator.OrganizationAggregationSourceProperty value)