import * as ros from '@alicloud/ros-cdk-core'; import { RosAcl } from './ga.generated'; export { RosAcl as AclProperty }; /** * Properties for defining a `Acl`. * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ga-acl */ export interface AclProps { /** * Property addressIpVersion: The IP version of the ACL. */ readonly addressIpVersion: string | ros.IResolvable; /** * Property aclEntries: The entries of IP addresses or CIDR blocks to add to the ACL. You can add up to 20 entries. */ readonly aclEntries?: Array | ros.IResolvable; /** * Property aclName: The name of the ACL. */ readonly aclName?: string | ros.IResolvable; /** * Property resourceGroupId: The ID of the resource group. */ readonly resourceGroupId?: string | ros.IResolvable; /** * Property tags: Tags of the ACL. */ readonly tags?: RosAcl.TagsProperty[]; } /** * Represents a `Acl`. */ export interface IAcl extends ros.IResource { readonly props: AclProps; /** * Attribute AclEntries: The entries of the ACL. */ readonly attrAclEntries: ros.IResolvable | string; /** * Attribute AclId: The ID of the ACL. */ readonly attrAclId: ros.IResolvable | string; /** * Attribute AclName: The name of the ACL. */ readonly attrAclName: ros.IResolvable | string; /** * Attribute AddressIPVersion: The IP version of the ACL. */ readonly attrAddressIpVersion: ros.IResolvable | string; /** * Attribute ResourceGroupId: The ID of the resource group. */ readonly attrResourceGroupId: ros.IResolvable | string; /** * Attribute Tags: The tags of the resource. */ readonly attrTags: ros.IResolvable | string; } /** * This class encapsulates and extends the ROS resource type `ALIYUN::GA::Acl`, which is used to create an access control list (ACL). * @Note This class may have some new functions to facilitate development, so it is recommended to use this class instead of `RosAcl`for a more convenient development experience. * See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ga-acl */ export declare class Acl extends ros.Resource implements IAcl { protected scope: ros.Construct; protected id: string; readonly props: AclProps; protected enableResourcePropertyConstraint: boolean; /** * Attribute AclEntries: The entries of the ACL. */ readonly attrAclEntries: ros.IResolvable | string; /** * Attribute AclId: The ID of the ACL. */ readonly attrAclId: ros.IResolvable | string; /** * Attribute AclName: The name of the ACL. */ readonly attrAclName: ros.IResolvable | string; /** * Attribute AddressIPVersion: The IP version of the ACL. */ readonly attrAddressIpVersion: ros.IResolvable | string; /** * Attribute ResourceGroupId: The ID of the resource group. */ readonly attrResourceGroupId: ros.IResolvable | string; /** * Attribute Tags: The tags of the resource. */ readonly attrTags: ros.IResolvable | string; /** * Param scope - scope in which this resource is defined * Param id - scoped id of the resource * Param props - resource properties */ constructor(scope: ros.Construct, id: string, props: AclProps, enableResourcePropertyConstraint?: boolean); }