ConnectionAliasAssociationProperty Struct
Describes a connection alias association that is used for cross-Region redirection.
For more information, see Cross-Region Redirection for Amazon WorkSpaces .
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_workspaces as workspaces } from 'aws-cdk-lib';
const connectionAliasAssociationProperty: workspaces.CfnConnectionAlias.ConnectionAliasAssociationProperty = {
associatedAccountId: 'associatedAccountId',
associationStatus: 'associationStatus',
connectionIdentifier: 'connectionIdentifier',
resourceId: 'resourceId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_workspaces as workspaces
connection_alias_association_property = workspaces.CfnConnectionAlias.ConnectionAliasAssociationProperty(
associated_account_id="associatedAccountId",
association_status="associationStatus",
connection_identifier="connectionIdentifier",
resource_id="resourceId"
)
java
// 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.*;
ConnectionAliasAssociationProperty connectionAliasAssociationProperty = ConnectionAliasAssociationProperty.builder()
.associatedAccountId("associatedAccountId")
.associationStatus("associationStatus")
.connectionIdentifier("connectionIdentifier")
.resourceId("resourceId")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 connectionAliasAssociationProperty = new ConnectionAliasAssociationProperty {
AssociatedAccountId = "associatedAccountId",
AssociationStatus = "associationStatus",
ConnectionIdentifier = "connectionIdentifier",
ResourceId = "resourceId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
connectionAliasAssociationProperty := &ConnectionAliasAssociationProperty{
AssociatedAccountId: jsii.String("associatedAccountId"),
AssociationStatus: jsii.String("associationStatus"),
ConnectionIdentifier: jsii.String("connectionIdentifier"),
ResourceId: jsii.String("resourceId"),
}
Properties
associatedAccountIdoptionalstringassociated_account_idoptionalstrassociatedAccountIdoptionalStringAssociatedAccountIdoptionalstringAssociatedAccountIdoptional*string#The identifier of the AWS account that associated the connection alias with a directory.
associationStatusoptionalstringassociation_statusoptionalstrassociationStatusoptionalStringAssociationStatusoptionalstringAssociationStatusoptional*string#The association status of the connection alias.
connectionIdentifieroptionalstringconnection_identifieroptionalstrconnectionIdentifieroptionalStringConnectionIdentifieroptionalstringConnectionIdentifieroptional*string#The identifier of the connection alias association.
You use the connection identifier in the DNS TXT record when you're configuring your DNS routing policies.
resourceIdoptionalstringresource_idoptionalstrresourceIdoptionalStringResourceIdoptionalstringResourceIdoptional*string#The identifier of the directory associated with a connection alias.