Class CfnACL
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.memorydb.CfnACL
- All Implemented Interfaces:
IInspectable,ITaggable,IACLRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-14T12:28:15.908Z")
@Stability(Stable)
public class CfnACL
extends CfnResource
implements IInspectable, IACLRef, ITaggable
Specifies an Access Control List.
For more information, see Authenticating users with Access Contol Lists (ACLs) .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.memorydb.*;
CfnACL cfnACL = CfnACL.Builder.create(this, "MyCfnACL")
.aclName("aclName")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.userNames(List.of("userNames"))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.memorydb.IACLRef
IACLRef.Jsii$Default, IACLRef.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnACL(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnACL(software.amazon.jsii.JsiiObjectRef objRef) CfnACL(software.constructs.Construct scope, String id, CfnACLProps props) -
Method Summary
Modifier and TypeMethodDescriptionstatic IACLReffromACLArn(software.constructs.Construct scope, String id, String arn) Creates a new IACLRef from an ARN.static IACLReffromAclName(software.constructs.Construct scope, String id, String aclName) Creates a new IACLRef from a aclName.The name of the Access Control List.A reference to a ACL resource.When you pass the logical ID of this resource to the intrinsicReffunction, Ref returns the ARN of the Access Control List, such asarn:aws:memorydb:us-east-1:123456789012:acl/my-acl.Indicates ACL status.getTags()Tag Manager which manages the tags for this resource.An array of key-value pairs to apply to this resource.The list of users that belong to the Access Control List.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAclName(String value) The name of the Access Control List.voidsetTagsRaw(List<CfnTag> value) An array of key-value pairs to apply to this resource.voidsetUserNames(List<String> value) The list of users that belong to the Access Control List.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnACL
protected CfnACL(software.amazon.jsii.JsiiObjectRef objRef) -
CfnACL
protected CfnACL(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnACL
@Stability(Stable) public CfnACL(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnACLProps props) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
fromACLArn
@Stability(Stable) @NotNull public static IACLRef fromACLArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IACLRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromAclName
@Stability(Stable) @NotNull public static IACLRef fromAclName(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String aclName) Creates a new IACLRef from a aclName.- Parameters:
scope- This parameter is required.id- This parameter is required.aclName- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAclRef
A reference to a ACL resource. -
getAttrArn
When you pass the logical ID of this resource to the intrinsicReffunction, Ref returns the ARN of the Access Control List, such asarn:aws:memorydb:us-east-1:123456789012:acl/my-acl. -
getAttrStatus
Indicates ACL status.Valid values :
creating|active|modifying|deleting -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
Tag Manager which manages the tags for this resource. -
getAclName
The name of the Access Control List. -
setAclName
The name of the Access Control List. -
getTagsRaw
An array of key-value pairs to apply to this resource. -
setTagsRaw
An array of key-value pairs to apply to this resource. -
getUserNames
The list of users that belong to the Access Control List. -
setUserNames
The list of users that belong to the Access Control List.
-