Class CfnConnectionAlias
A CloudFormation AWS::WorkSpaces::ConnectionAlias
.
Inherited Members
Namespace: Amazon.CDK.AWS.WorkSpaces
Assembly: Amazon.CDK.AWS.WorkSpaces.dll
Syntax (csharp)
public class CfnConnectionAlias : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnConnectionAlias
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
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 .
CloudformationResource: AWS::WorkSpaces::ConnectionAlias
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.WorkSpaces;
var cfnConnectionAlias = new CfnConnectionAlias(this, "MyCfnConnectionAlias", new CfnConnectionAliasProps {
ConnectionString = "connectionString",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnConnectionAlias(Construct, String, ICfnConnectionAliasProps) | Create a new |
CfnConnectionAlias(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnConnectionAlias(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrAliasId | The identifier of the connection alias, returned as a string. |
AttrAssociations | |
AttrConnectionAliasState | The current state of the connection alias, returned as a string. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ConnectionString | The connection string specified for the connection alias. |
Tags | The tags to associate with the connection alias. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnConnectionAlias(Construct, String, ICfnConnectionAliasProps)
Create a new AWS::WorkSpaces::ConnectionAlias
.
public CfnConnectionAlias(Construct scope, string id, ICfnConnectionAliasProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnConnectionAliasProps
- resource properties.
CfnConnectionAlias(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnConnectionAlias(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnConnectionAlias(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnConnectionAlias(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrAliasId
The identifier of the connection alias, returned as a string.
public virtual string AttrAliasId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: AliasId
AttrAssociations
public virtual IResolvable AttrAssociations { get; }
Property Value
Remarks
CloudformationAttribute: Associations
AttrConnectionAliasState
The current state of the connection alias, returned as a string.
public virtual string AttrConnectionAliasState { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ConnectionAliasState
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
ConnectionString
The connection string specified for the connection alias.
public virtual string ConnectionString { get; set; }
Property Value
System.String
Remarks
The connection string must be in the form of a fully qualified domain name (FQDN), such as www.example.com
.
Tags
The tags to associate with the connection alias.
public virtual TagManager Tags { get; }
Property Value
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>