CfnCrossAccountAttachmentProps
- class aws_cdk.aws_globalaccelerator.CfnCrossAccountAttachmentProps(*, name, principals=None, resources=None, tags=None)
Bases:
object
Properties for defining a
CfnCrossAccountAttachment
.- Parameters:
name (
str
) – The name of the cross-account attachment.principals (
Optional
[Sequence
[str
]]) – The principals included in the cross-account attachment.resources (
Union
[IResolvable
,Sequence
[Union
[IResolvable
,ResourceProperty
,Dict
[str
,Any
]]],None
]) – The resources included in the cross-account attachment.tags (
Optional
[Sequence
[Union
[CfnTag
,Dict
[str
,Any
]]]]) – Add tags for a cross-account attachment. For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide .
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import aws_globalaccelerator as globalaccelerator cfn_cross_account_attachment_props = globalaccelerator.CfnCrossAccountAttachmentProps( name="name", # the properties below are optional principals=["principals"], resources=[globalaccelerator.CfnCrossAccountAttachment.ResourceProperty( endpoint_id="endpointId", # the properties below are optional region="region" )], tags=[CfnTag( key="key", value="value" )] )
Attributes
- name
The name of the cross-account attachment.
- principals
The principals included in the cross-account attachment.
- resources
The resources included in the cross-account attachment.
- tags
Add tags for a cross-account attachment.
For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide .