Interface CfnCrossAccountAttachmentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCrossAccountAttachmentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:40.694Z")
@Stability(Stable)
public interface CfnCrossAccountAttachmentProps
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.services.globalaccelerator.*;
CfnCrossAccountAttachmentProps cfnCrossAccountAttachmentProps = CfnCrossAccountAttachmentProps.builder()
.name("name")
// the properties below are optional
.principals(List.of("principals"))
.resources(List.of(ResourceProperty.builder()
.cidr("cidr")
.endpointId("endpointId")
.region("region")
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCrossAccountAttachmentPropsstatic final classAn implementation forCfnCrossAccountAttachmentProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the cross-account attachment.- See Also:
-
getPrincipals
The principals included in the cross-account attachment.- See Also:
-
getResources
The resources included in the cross-account attachment.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCrossAccountAttachment.ResourceProperty>- See Also:
-
getTags
Add tags for a cross-account attachment.For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide .
- See Also:
-
builder
-