CfnACLProps

class aws_cdk.aws_memorydb.CfnACLProps(*, acl_name, tags=None, user_names=None)

Bases: object

Properties for defining a CfnACL.

Parameters:
  • acl_name (str) – The name of the Access Control List.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply to this resource. For more information, see Tag .

  • user_names (Optional[Sequence[str]]) – The list of users that belong to the Access Control List.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-acl.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_memorydb as memorydb

cfn_aCLProps = memorydb.CfnACLProps(
    acl_name="aclName",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )],
    user_names=["userNames"]
)

Attributes

acl_name

The name of the Access Control List.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-acl.html#cfn-memorydb-acl-aclname

tags

An array of key-value pairs to apply to this resource.

For more information, see Tag .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-acl.html#cfn-memorydb-acl-tags

user_names

The list of users that belong to the Access Control List.

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-acl.html#cfn-memorydb-acl-usernames