CfnMicrosoftADPropsMixin
- class aws_cdk.mixins_preview.aws_directoryservice.mixins.CfnMicrosoftADPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::DirectoryService::MicrosoftADresource specifies a Microsoft Active Directory in AWS so that your directory users and groups can access the AWS Management Console and AWS applications using their existing credentials.For more information, see AWS Managed Microsoft AD in the Directory Service Admin Guide .
- See:
- CloudformationResource:
AWS::DirectoryService::MicrosoftAD
- Mixin:
true
- 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 import mixins from aws_cdk.mixins_preview.aws_directoryservice import mixins as directoryservice_mixins cfn_microsoft_aDProps_mixin = directoryservice_mixins.CfnMicrosoftADPropsMixin(directoryservice_mixins.CfnMicrosoftADMixinProps( create_alias=False, edition="edition", enable_sso=False, name="name", password="password", short_name="shortName", vpc_settings=directoryservice_mixins.CfnMicrosoftADPropsMixin.VpcSettingsProperty( subnet_ids=["subnetIds"], vpc_id="vpcId" ) ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::DirectoryService::MicrosoftAD.- Parameters:
props (
Union[CfnMicrosoftADMixinProps,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 = ['createAlias', 'edition', 'enableSso', 'name', 'password', 'shortName', 'vpcSettings']
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
VpcSettingsProperty
- class CfnMicrosoftADPropsMixin.VpcSettingsProperty(*, subnet_ids=None, vpc_id=None)
Bases:
objectContains VPC information for the CreateDirectory or CreateMicrosoftAD operation.
- Parameters:
subnet_ids (
Optional[Sequence[str]]) – The identifiers of the subnets for the directory servers. The two subnets must be in different Availability Zones. Directory Service specifies a directory server and a DNS server in each of these subnets.vpc_id (
Optional[str]) – The identifier of the VPC in which to create the directory.
- 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_directoryservice import mixins as directoryservice_mixins vpc_settings_property = directoryservice_mixins.CfnMicrosoftADPropsMixin.VpcSettingsProperty( subnet_ids=["subnetIds"], vpc_id="vpcId" )
Attributes
- subnet_ids
The identifiers of the subnets for the directory servers.
The two subnets must be in different Availability Zones. Directory Service specifies a directory server and a DNS server in each of these subnets.
- vpc_id
The identifier of the VPC in which to create the directory.