interface CfnCrossAccountAttachmentProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.GlobalAccelerator.CfnCrossAccountAttachmentProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsglobalaccelerator#CfnCrossAccountAttachmentProps |
Java | software.amazon.awscdk.services.globalaccelerator.CfnCrossAccountAttachmentProps |
Python | aws_cdk.aws_globalaccelerator.CfnCrossAccountAttachmentProps |
TypeScript | aws-cdk-lib » aws_globalaccelerator » CfnCrossAccountAttachmentProps |
Properties for defining a CfnCrossAccountAttachment.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_globalaccelerator as globalaccelerator } from 'aws-cdk-lib';
const cfnCrossAccountAttachmentProps: globalaccelerator.CfnCrossAccountAttachmentProps = {
name: 'name',
// the properties below are optional
principals: ['principals'],
resources: [{
cidr: 'cidr',
endpointId: 'endpointId',
region: 'region',
}],
tags: [{
key: 'key',
value: 'value',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The name of the cross-account attachment. |
| principals? | string[] | The principals included in the cross-account attachment. |
| resources? | IResolvable | (IResolvable | Resource)[] | The resources included in the cross-account attachment. |
| tags? | Cfn[] | Add tags for a cross-account attachment. |
name
Type:
string
The name of the cross-account attachment.
principals?
Type:
string[]
(optional)
The principals included in the cross-account attachment.
resources?
Type:
IResolvable | (IResolvable | Resource)[]
(optional)
The resources included in the cross-account attachment.
tags?
Type:
Cfn[]
(optional)
Add tags for a cross-account attachment.
For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide .

.NET
Go
Java
Python
TypeScript