Skip to content
v2.273.0

CfnCrossAccountAttachmentPropsMixin Mixin ​

Create a cross-account attachment in AWS Global Accelerator .

You create a cross-account attachment to specify the principals who have permission to work with resources in accelerators in their own account. You specify, in the same attachment, the resources that are shared.

A principal can be an AWS account number or the Amazon Resource Name (ARN) for an accelerator. For account numbers that are listed as principals, to work with a resource listed in the attachment, you must sign in to an account specified as a principal. Then, you can work with resources that are listed, with any of your accelerators. If an accelerator ARN is listed in the cross-account attachment as a principal, anyone with permission to make updates to the accelerator can work with resources that are listed in the attachment.

Specify each principal and resource separately. To specify two CIDR address pools, list them individually under Resources , and so on. For a command line operation, for example, you might use a statement like the following:

"Resources": [{"Cidr": "169.254.60.0/24"},{"Cidr": "169.254.59.0/24"}]

For more information, see Working with cross-account attachments and resources in AWS Global Accelerator in the AWS Global Accelerator Developer Guide .

Initializer ​

ts
new CfnCrossAccountAttachmentPropsMixin(props: CfnCrossAccountAttachmentMixinProps, options?: CfnPropertyMixinOptions)
python
CfnCrossAccountAttachmentPropsMixin(props: CfnCrossAccountAttachmentMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnCrossAccountAttachmentPropsMixin(CfnCrossAccountAttachmentMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnCrossAccountAttachmentPropsMixin(CfnCrossAccountAttachmentMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnCrossAccountAttachmentPropsMixin(Props CfnCrossAccountAttachmentMixinProps, Options CfnPropertyMixinOptions)

Methods ​

applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#
Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#
Checks if `x` is a Mixin.
1 parameter · returns

Parameters

  • xxxxX — Any object.

Returns: true if x is an object created from a class which extends Mixin.

supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#
Check if this mixin supports the given construct.