Class CfnACL
Specifies an Access Control List.
Inherited Members
Namespace: Amazon.CDK.AWS.MemoryDB
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnACL : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnACL
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
For more information, see Authenticating users with Access Contol Lists (ACLs) .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-acl.html
CloudformationResource: AWS::MemoryDB::ACL
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MemoryDB;
var cfnACL = new CfnACL(this, "MyCfnACL", new CfnACLProps {
AclName = "aclName",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
UserNames = new [] { "userNames" }
});
Synopsis
Constructors
CfnACL(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnACL(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnACL(Construct, String, ICfnACLProps) |
Properties
AclName | The name of the Access Control List. |
AttrArn | When you pass the logical ID of this resource to the intrinsic |
AttrStatus | Indicates ACL status. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | An array of key-value pairs to apply to this resource. |
UserNames | The list of users that belong to the Access Control List. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnACL(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnACL(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnACL(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnACL(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnACL(Construct, String, ICfnACLProps)
public CfnACL(Construct scope, string id, ICfnACLProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnACLProps
Resource properties.
Properties
AclName
The name of the Access Control List.
public virtual string AclName { get; set; }
Property Value
System.String
AttrArn
When you pass the logical ID of this resource to the intrinsic Ref
function, Ref returns the ARN of the Access Control List, such as arn:aws:memorydb:us-east-1:123456789012:acl/my-acl
.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrStatus
Indicates ACL status.
public virtual string AttrStatus { get; }
Property Value
System.String
Remarks
Valid values : creating
| active
| modifying
| deleting
CloudformationAttribute: Status
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
An array of key-value pairs to apply to this resource.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
UserNames
The list of users that belong to the Access Control List.
public virtual string[] UserNames { get; set; }
Property Value
System.String[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>