@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.066Z") @Stability(value=Stable) public class CfnVpcAttachment extends CfnResource implements IInspectable
Creates a VPC attachment on an edge location of a core network.
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.networkmanager.*;
CfnVpcAttachment cfnVpcAttachment = CfnVpcAttachment.Builder.create(this, "MyCfnVpcAttachment")
.coreNetworkId("coreNetworkId")
.options(VpcOptionsProperty.builder()
.ipv6Support(false)
.build())
.subnetArns(List.of("subnetArns"))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.vpcArn("vpcArn")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnVpcAttachment.Builder
A fluent builder for
CfnVpcAttachment. |
static interface |
CfnVpcAttachment.VpcOptionsProperty
Describes the VPC options.
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnVpcAttachment(software.constructs.Construct scope,
String id)
Create a new `AWS::NetworkManager::VpcAttachment`.
|
|
CfnVpcAttachment(software.constructs.Construct scope,
String id,
CfnVpcAttachmentProps props)
Create a new `AWS::NetworkManager::VpcAttachment`.
|
protected |
CfnVpcAttachment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnVpcAttachment(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrAttachmentId()
The ID of the VPC attachment.
|
Number |
getAttrAttachmentPolicyRuleNumber()
The policy rule number associated with the attachment.
|
String |
getAttrAttachmentType()
The type of attachment.
|
String |
getAttrCoreNetworkArn()
The ARN of the core network.
|
String |
getAttrCreatedAt()
The timestamp when the VPC attachment was created.
|
String |
getAttrEdgeLocation()
The Region where the core network edge is located.
|
String |
getAttrOwnerAccountId()
The ID of the VPC attachment owner.
|
String |
getAttrResourceArn()
The resource ARN for the VPC attachment.
|
String |
getAttrSegmentName()
The name of the attachment's segment.
|
String |
getAttrState()
The state of the attachment.
|
String |
getAttrUpdatedAt()
The timestamp when the VPC attachment was last updated.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getCoreNetworkId()
The core network ID.
|
Object |
getOptions()
Options for creating the VPC attachment.
|
List<String> |
getSubnetArns()
The subnet ARNs.
|
TagManager |
getTags()
The tags associated with the VPC attachment.
|
String |
getVpcArn()
The ARN of the VPC attachment.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setCoreNetworkId(String value)
The core network ID.
|
void |
setOptions(CfnVpcAttachment.VpcOptionsProperty value)
Options for creating the VPC attachment.
|
void |
setOptions(IResolvable value)
Options for creating the VPC attachment.
|
void |
setSubnetArns(List<String> value)
The subnet ARNs.
|
void |
setVpcArn(String value)
The ARN of the VPC attachment.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnVpcAttachment(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnVpcAttachment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnVpcAttachment(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@Nullable
CfnVpcAttachmentProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties.@Stability(value=Stable)
public CfnVpcAttachment(@NotNull
software.constructs.Construct scope,
@NotNull
String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrAttachmentId()
@Stability(value=Stable) @NotNull public Number getAttrAttachmentPolicyRuleNumber()
@Stability(value=Stable) @NotNull public String getAttrAttachmentType()
This will be VPC .
@Stability(value=Stable) @NotNull public String getAttrCoreNetworkArn()
@Stability(value=Stable) @NotNull public String getAttrCreatedAt()
@Stability(value=Stable) @NotNull public String getAttrEdgeLocation()
@Stability(value=Stable) @NotNull public String getAttrOwnerAccountId()
@Stability(value=Stable) @NotNull public String getAttrResourceArn()
@Stability(value=Stable) @NotNull public String getAttrSegmentName()
@Stability(value=Stable) @NotNull public String getAttrState()
This can be: REJECTED | PENDING_ATTACHMENT_ACCEPTANCE | CREATING | FAILED | AVAILABLE | UPDATING | PENDING_NETWORK_UPDATE | PENDING_TAG_ACCEPTANCE | DELETING .
@Stability(value=Stable) @NotNull public String getAttrUpdatedAt()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public String getCoreNetworkId()
@Stability(value=Stable)
public void setCoreNetworkId(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getOptions()
@Stability(value=Stable)
public void setOptions(@Nullable
CfnVpcAttachment.VpcOptionsProperty value)
@Stability(value=Stable)
public void setOptions(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public List<String> getSubnetArns()
@Stability(value=Stable)
public void setSubnetArns(@Nullable
List<String> value)
@Stability(value=Stable) @Nullable public String getVpcArn()
@Stability(value=Stable)
public void setVpcArn(@Nullable
String value)
Copyright © 2022. All rights reserved.