CfnConnectionAliasPropsMixin
- class aws_cdk.mixins_preview.aws_workspaces.mixins.CfnConnectionAliasPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::WorkSpaces::ConnectionAliasresource specifies a connection alias.Connection aliases are used for cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces .
- See:
- CloudformationResource:
AWS::WorkSpaces::ConnectionAlias
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
from aws_cdk import CfnTag # The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_workspaces import mixins as workspaces_mixins cfn_connection_alias_props_mixin = workspaces_mixins.CfnConnectionAliasPropsMixin(workspaces_mixins.CfnConnectionAliasMixinProps( connection_string="connectionString", tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::WorkSpaces::ConnectionAlias.- Parameters:
props (
Union[CfnConnectionAliasMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['connectionString', 'tags']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
ConnectionAliasAssociationProperty
- class CfnConnectionAliasPropsMixin.ConnectionAliasAssociationProperty(*, associated_account_id=None, association_status=None, connection_identifier=None, resource_id=None)
Bases:
objectDescribes a connection alias association that is used for cross-Region redirection.
For more information, see Cross-Region Redirection for Amazon WorkSpaces .
- Parameters:
associated_account_id (
Optional[str]) – The identifier of the AWS account that associated the connection alias with a directory.association_status (
Optional[str]) – The association status of the connection alias.connection_identifier (
Optional[str]) – 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.resource_id (
Optional[str]) – The identifier of the directory associated with a connection alias.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_workspaces import mixins as workspaces_mixins connection_alias_association_property = workspaces_mixins.CfnConnectionAliasPropsMixin.ConnectionAliasAssociationProperty( associated_account_id="associatedAccountId", association_status="associationStatus", connection_identifier="connectionIdentifier", resource_id="resourceId" )
Attributes
- associated_account_id
The identifier of the AWS account that associated the connection alias with a directory.
- association_status
The association status of the connection alias.
- connection_identifier
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.
- resource_id
The identifier of the directory associated with a connection alias.