CfnUserPropsMixin
- class aws_cdk.cfn_property_mixins.aws_memorydb.CfnUserPropsMixin(props, *, strategy=None)
Bases:
MixinSpecifies a MemoryDB user.
For more information, see Authenticating users with Access Contol Lists (ACLs) .
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-user.html
- CloudformationResource:
AWS::MemoryDB::User
- 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.cfn_property_mixins import aws_memorydb as memorydb import aws_cdk as cdk # authentication_mode: Any # merge_strategy: cdk.IMergeStrategy cfn_user_props_mixin = memorydb.CfnUserPropsMixin(memorydb.CfnUserMixinProps( access_string="accessString", authentication_mode=authentication_mode, tags=[cdk.CfnTag( key="key", value="value" )], user_name="userName" ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::MemoryDB::User.- Parameters:
props (
Union[CfnUserMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['accessString', 'authenticationMode', 'tags', 'userName']
Static Methods
- classmethod is_mixin(x)
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.
AuthenticationModeProperty
- class CfnUserPropsMixin.AuthenticationModeProperty(*, passwords=None, type=None)
Bases:
objectDenotes the user’s authentication properties, such as whether it requires a password to authenticate.
Used in output responses.
- Parameters:
passwords (
Optional[Sequence[str]]) – The password(s) used for authentication.type (
Optional[str]) – Indicates whether the user requires a password to authenticate. All newly-created users require a password.
- 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.cfn_property_mixins import aws_memorydb as memorydb authentication_mode_property = memorydb.CfnUserPropsMixin.AuthenticationModeProperty( passwords=["passwords"], type="type" )
Attributes
- passwords
The password(s) used for authentication.
- type
Indicates whether the user requires a password to authenticate.
All newly-created users require a password.