CfnSimpleADPropsMixin
- class aws_cdk.mixins_preview.aws_directoryservice.mixins.CfnSimpleADPropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::DirectoryService::SimpleADresource specifies an Directory Service Simple Active Directory ( Simple AD ) in AWS so that your directory users and groups can access the AWS Management Console and AWS applications using their existing credentials.Simple AD is a Microsoft Active Directory–compatible directory. For more information, see Simple Active Directory in the Directory Service Admin Guide .
- See:
- CloudformationResource:
AWS::DirectoryService::SimpleAD
- 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_simple_aDProps_mixin = directoryservice_mixins.CfnSimpleADPropsMixin(directoryservice_mixins.CfnSimpleADMixinProps( create_alias=False, description="description", enable_sso=False, name="name", password="password", short_name="shortName", size="size", vpc_settings=directoryservice_mixins.CfnSimpleADPropsMixin.VpcSettingsProperty( subnet_ids=["subnetIds"], vpc_id="vpcId" ) ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::DirectoryService::SimpleAD.- Parameters:
props (
Union[CfnSimpleADMixinProps,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', 'description', 'enableSso', 'name', 'password', 'shortName', 'size', '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 CfnSimpleADPropsMixin.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.CfnSimpleADPropsMixin.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.