Skip to content
v2.278.0

AggregationAuthorizationReference Struct ​

A reference to a AggregationAuthorization resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_config as interfaces_config } from 'aws-cdk-lib/interfaces';
const aggregationAuthorizationReference: interfaces_config.AggregationAuthorizationReference = {
  aggregationAuthorizationArn: 'aggregationAuthorizationArn',
  authorizedAccountId: 'authorizedAccountId',
  authorizedAwsRegion: 'authorizedAwsRegion',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_config as interfaces_config

aggregation_authorization_reference = interfaces_config.AggregationAuthorizationReference(
    aggregation_authorization_arn="aggregationAuthorizationArn",
    authorized_account_id="authorizedAccountId",
    authorized_aws_region="authorizedAwsRegion"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.config.*;

AggregationAuthorizationReference aggregationAuthorizationReference = AggregationAuthorizationReference.builder()
        .aggregationAuthorizationArn("aggregationAuthorizationArn")
        .authorizedAccountId("authorizedAccountId")
        .authorizedAwsRegion("authorizedAwsRegion")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.Config;

var aggregationAuthorizationReference = new AggregationAuthorizationReference {
    AggregationAuthorizationArn = "aggregationAuthorizationArn",
    AuthorizedAccountId = "authorizedAccountId",
    AuthorizedAwsRegion = "authorizedAwsRegion"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

aggregationAuthorizationReference := &AggregationAuthorizationReference{
	AggregationAuthorizationArn: jsii.String("aggregationAuthorizationArn"),
	AuthorizedAccountId: jsii.String("authorizedAccountId"),
	AuthorizedAwsRegion: jsii.String("authorizedAwsRegion"),
}

Properties ​

aggregationAuthorizationArnstringaggregation_authorization_arnstraggregationAuthorizationArnStringAggregationAuthorizationArnstringAggregationAuthorizationArn*string required #
The ARN of the AggregationAuthorization resource.
authorizedAccountIdstringauthorized_account_idstrauthorizedAccountIdStringAuthorizedAccountIdstringAuthorizedAccountId*string required #
The AuthorizedAccountId of the AggregationAuthorization resource.
authorizedAwsRegionstringauthorized_aws_regionstrauthorizedAwsRegionStringAuthorizedAwsRegionstringAuthorizedAwsRegion*string required #
The AuthorizedAwsRegion of the AggregationAuthorization resource.