@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.061Z") @Stability(value=Stable) public class CfnLink extends CfnResource implements IInspectable
Specifies a link for a site.
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.*;
CfnLink cfnLink = CfnLink.Builder.create(this, "MyCfnLink")
.bandwidth(BandwidthProperty.builder()
.downloadSpeed(123)
.uploadSpeed(123)
.build())
.globalNetworkId("globalNetworkId")
.siteId("siteId")
// the properties below are optional
.description("description")
.provider("provider")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.type("type")
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnLink.BandwidthProperty
Describes bandwidth information.
|
static class |
CfnLink.Builder
A fluent builder for
CfnLink. |
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 |
|---|---|
|
CfnLink(software.constructs.Construct scope,
String id,
CfnLinkProps props)
Create a new `AWS::NetworkManager::Link`.
|
protected |
CfnLink(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnLink(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrLinkArn()
The ARN of the link.
|
String |
getAttrLinkId()
The ID of the link.
|
Object |
getBandwidth()
The bandwidth for the link.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDescription()
A description of the link.
|
String |
getGlobalNetworkId()
The ID of the global network.
|
String |
getProvider()
The provider of the link.
|
String |
getSiteId()
The ID of the site.
|
TagManager |
getTags()
The tags for the link.
|
String |
getType()
The type of the link.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setBandwidth(CfnLink.BandwidthProperty value)
The bandwidth for the link.
|
void |
setBandwidth(IResolvable value)
The bandwidth for the link.
|
void |
setDescription(String value)
A description of the link.
|
void |
setGlobalNetworkId(String value)
The ID of the global network.
|
void |
setProvider(String value)
The provider of the link.
|
void |
setSiteId(String value)
The ID of the site.
|
void |
setType(String value)
The type of the link.
|
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 CfnLink(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnLink(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnLink(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnLinkProps 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. 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 getAttrLinkArn()
For example, arn:aws:networkmanager::123456789012:link/global-network-01231231231231231/link-11112222aaaabbbb1 .
@Stability(value=Stable) @NotNull public String getAttrLinkId()
For example, link-11112222aaaabbbb1 .
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @NotNull public Object getBandwidth()
@Stability(value=Stable)
public void setBandwidth(@NotNull
CfnLink.BandwidthProperty value)
@Stability(value=Stable)
public void setBandwidth(@NotNull
IResolvable value)
@Stability(value=Stable) @NotNull public String getGlobalNetworkId()
@Stability(value=Stable)
public void setGlobalNetworkId(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getSiteId()
@Stability(value=Stable)
public void setSiteId(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getDescription()
Constraints: Maximum length of 256 characters.
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
Constraints: Maximum length of 256 characters.
@Stability(value=Stable) @Nullable public String getProvider()
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
@Stability(value=Stable)
public void setProvider(@Nullable
String value)
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
@Stability(value=Stable) @Nullable public String getType()
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
@Stability(value=Stable)
public void setType(@Nullable
String value)
Constraints: Maximum length of 128 characters. Cannot include the following characters: | \ ^
Copyright © 2022. All rights reserved.