@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T09:30:46.329Z") @Stability(value=Stable) public class CfnAggregationAuthorization extends CfnResource implements IInspectable
An object that represents the authorizations granted to aggregator accounts and regions.
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.*; CfnAggregationAuthorization cfnAggregationAuthorization = CfnAggregationAuthorization.Builder.create(this, "MyCfnAggregationAuthorization") .authorizedAccountId("authorizedAccountId") .authorizedAwsRegion("authorizedAwsRegion") // the properties below are optional .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .build();
Modifier and Type | Class and Description |
---|---|
static class |
CfnAggregationAuthorization.Builder
A fluent builder for
CfnAggregationAuthorization . |
software.amazon.jsii.JsiiObject.InitializationMode
IInspectable.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 |
---|---|
|
CfnAggregationAuthorization(software.constructs.Construct scope,
String id,
CfnAggregationAuthorizationProps props)
Create a new `AWS::Config::AggregationAuthorization`.
|
protected |
CfnAggregationAuthorization(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnAggregationAuthorization(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
String |
getAttrAggregationAuthorizationArn()
The Amazon Resource Name (ARN) of the aggregation object.
|
String |
getAuthorizedAccountId()
The 12-digit account ID of the account authorized to aggregate data.
|
String |
getAuthorizedAwsRegion()
The region authorized to collect aggregated data.
|
protected Map<String,Object> |
getCfnProperties() |
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 |
setAuthorizedAccountId(String value)
The 12-digit account ID of the account authorized to aggregate data.
|
void |
setAuthorizedAwsRegion(String value)
The region authorized to collect aggregated data.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnAggregationAuthorization(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnAggregationAuthorization(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public CfnAggregationAuthorization(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnAggregationAuthorizationProps 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. This parameter is required.@Stability(value=Stable) public void inspect(@NotNull TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - 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 CfnResource
props
- This parameter is required.@Stability(value=Stable) @NotNull public String getAttrAggregationAuthorizationArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties
in class CfnResource
@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public String getAuthorizedAccountId()
@Stability(value=Stable) public void setAuthorizedAccountId(@NotNull String value)
@Stability(value=Stable) @NotNull public String getAuthorizedAwsRegion()
@Stability(value=Stable) public void setAuthorizedAwsRegion(@NotNull String value)
Copyright © 2022. All rights reserved.