Skip to content
v2.276.0

CfnCrossAccountAttachmentProps Struct ​

Properties for defining a CfnCrossAccountAttachment.

Example ​

ts
// 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 ​

namestringnamestrnameStringNamestringName*stringrequired#
The name of the cross-account attachment.
principalsoptionalstring[]principalsoptionaltyping.List[str]principalsoptionalList<String>Principalsoptionalstring[]Principalsoptional*[]*string#
The principals included in the cross-account attachment.
resourcesoptionalIResolvable | IResolvable | CfnCrossAccountAttachment.ResourceProperty[]resourcesoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ResourceProperty]]]resourcesoptionalIResolvableResourcesoptionalIResolvableResourcesoptionalinterface{}#
The resources included in the cross-account attachment.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
Add tags for a cross-account attachment.

For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide .