@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.721Z") @Stability(value=Stable) 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.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnConfigurationAggregator(software.constructs.Construct scope,
String id)
Create a new `AWS::Config::ConfigurationAggregator`.
|
|
CfnConfigurationAggregator(software.constructs.Construct scope,
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 |
|---|---|
Object |
getAccountAggregationSources()
Provides a list of source accounts and regions to be aggregated.
|
String |
getAttrConfigurationAggregatorArn()
The Amazon Resource Name (ARN) of the aggregator.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getConfigurationAggregatorName()
The name of the aggregator.
|
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 Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAccountAggregationSources(IResolvable value)
Provides a list of source accounts and regions to be aggregated.
|
void |
setAccountAggregationSources(List<Object> value)
Provides a list of source accounts and regions to be aggregated.
|
void |
setConfigurationAggregatorName(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, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnConfigurationAggregator(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnConfigurationAggregator(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnConfigurationAggregator(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
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.@Stability(value=Stable)
public CfnConfigurationAggregator(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrConfigurationAggregatorArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public Object getAccountAggregationSources()
@Stability(value=Stable)
public void setAccountAggregationSources(@Nullable
IResolvable value)
@Stability(value=Stable)
public void setAccountAggregationSources(@Nullable
List<Object> value)
@Stability(value=Stable) @Nullable public String getConfigurationAggregatorName()
@Stability(value=Stable)
public void setConfigurationAggregatorName(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getOrganizationAggregationSource()
@Stability(value=Stable)
public void setOrganizationAggregationSource(@Nullable
CfnConfigurationAggregator.OrganizationAggregationSourceProperty value)
@Stability(value=Stable)
public void setOrganizationAggregationSource(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.