@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.830Z") @Stability(value=Stable) public class CfnConnectionAlias extends CfnResource implements IInspectable
The AWS::WorkSpaces::ConnectionAlias resource specifies a connection alias. Connection aliases are used for cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces .
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.workspaces.*;
CfnConnectionAlias cfnConnectionAlias = CfnConnectionAlias.Builder.create(this, "MyCfnConnectionAlias")
.connectionString("connectionString")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnConnectionAlias.Builder
A fluent builder for
CfnConnectionAlias. |
static interface |
CfnConnectionAlias.ConnectionAliasAssociationProperty
Describes a connection alias association that is used for cross-Region redirection.
|
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 |
|---|---|
|
CfnConnectionAlias(software.constructs.Construct scope,
String id,
CfnConnectionAliasProps props)
Create a new `AWS::WorkSpaces::ConnectionAlias`.
|
protected |
CfnConnectionAlias(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnConnectionAlias(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrAliasId()
The identifier of the connection alias, returned as a string.
|
IResolvable |
getAttrAssociations()
The association status of the connection alias, returned as an array of `ConnectionAliasAssociation` objects.
|
String |
getAttrConnectionAliasState()
The current state of the connection alias, returned as a string.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getConnectionString()
The connection string specified for the connection alias.
|
TagManager |
getTags()
The tags to associate with the connection alias.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setConnectionString(String value)
The connection string specified for the connection alias.
|
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 CfnConnectionAlias(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnConnectionAlias(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnConnectionAlias(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnConnectionAliasProps 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 getAttrAliasId()
@Stability(value=Stable) @NotNull public IResolvable getAttrAssociations()
@Stability(value=Stable) @NotNull public String getAttrConnectionAliasState()
@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 String getConnectionString()
The connection string must be in the form of a fully qualified domain name (FQDN), such as www.example.com .
@Stability(value=Stable)
public void setConnectionString(@NotNull
String value)
The connection string must be in the form of a fully qualified domain name (FQDN), such as www.example.com .
Copyright © 2022. All rights reserved.