Class CfnCrossAccountAttachmentProps
Properties for defining a CfnCrossAccountAttachment
.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.GlobalAccelerator
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCrossAccountAttachmentProps : ICfnCrossAccountAttachmentProps
Syntax (vb)
Public Class CfnCrossAccountAttachmentProps Implements ICfnCrossAccountAttachmentProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GlobalAccelerator;
var cfnCrossAccountAttachmentProps = new CfnCrossAccountAttachmentProps {
Name = "name",
// the properties below are optional
Principals = new [] { "principals" },
Resources = new [] { new ResourceProperty {
Cidr = "cidr",
EndpointId = "endpointId",
Region = "region"
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnCrossAccountAttachmentProps() | Properties for defining a |
Properties
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. |
Constructors
CfnCrossAccountAttachmentProps()
Properties for defining a CfnCrossAccountAttachment
.
public CfnCrossAccountAttachmentProps()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.GlobalAccelerator;
var cfnCrossAccountAttachmentProps = new CfnCrossAccountAttachmentProps {
Name = "name",
// the properties below are optional
Principals = new [] { "principals" },
Resources = new [] { new ResourceProperty {
Cidr = "cidr",
EndpointId = "endpointId",
Region = "region"
} },
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
Name
The name of the cross-account attachment.
public string Name { get; set; }
Property Value
Remarks
Principals
The principals included in the cross-account attachment.
public string[]? Principals { get; set; }
Property Value
string[]
Remarks
Resources
The resources included in the cross-account attachment.
public object? Resources { get; set; }
Property Value
Remarks
Tags
Add tags for a cross-account attachment.
public ICfnTag[]? Tags { get; set; }
Property Value
ICfnTag[]
Remarks
For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide .