UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

191 lines (190 loc) 7.59 kB
import * as cdk from "../../core"; import * as constructs from "constructs"; import * as cfn_parse from "../../core/lib/helpers-internal"; /** * A group object, which contains a specified group’s metadata and attributes. * * @cloudformationResource AWS::IdentityStore::Group * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-identitystore-group.html */ export declare class CfnGroup extends cdk.CfnResource implements cdk.IInspectable { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnGroup from CloudFormation properties * * A factory method that creates a new instance of this class from an object * containing the CloudFormation properties of this resource. * Used in the @aws-cdk/cloudformation-include module. * * @internal */ static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnGroup; /** * The identifier of the newly created group in the identity store. * * @cloudformationAttribute GroupId */ readonly attrGroupId: string; /** * A string containing the description of the group. */ description?: string; /** * A string containing the name of the group. */ displayName: string; /** * The globally unique identifier for the identity store. */ identityStoreId: string; /** * @param scope Scope in which this resource is defined * @param id Construct identifier for this resource (unique in its scope) * @param props Resource properties */ constructor(scope: constructs.Construct, id: string, props: CfnGroupProps); protected get cfnProperties(): Record<string, any>; /** * Examines the CloudFormation resource and discloses attributes * * @param inspector tree inspector to collect and process attributes */ inspect(inspector: cdk.TreeInspector): void; protected renderProperties(props: Record<string, any>): Record<string, any>; } /** * Properties for defining a `CfnGroup` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-identitystore-group.html */ export interface CfnGroupProps { /** * A string containing the description of the group. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-identitystore-group.html#cfn-identitystore-group-description */ readonly description?: string; /** * A string containing the name of the group. * * This value is commonly displayed when the group is referenced. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-identitystore-group.html#cfn-identitystore-group-displayname */ readonly displayName: string; /** * The globally unique identifier for the identity store. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-identitystore-group.html#cfn-identitystore-group-identitystoreid */ readonly identityStoreId: string; } /** * Contains the identifiers for a group, a group member, and a `GroupMembership` object in the identity store. * * @cloudformationResource AWS::IdentityStore::GroupMembership * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-identitystore-groupmembership.html */ export declare class CfnGroupMembership extends cdk.CfnResource implements cdk.IInspectable { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnGroupMembership from CloudFormation properties * * A factory method that creates a new instance of this class from an object * containing the CloudFormation properties of this resource. * Used in the @aws-cdk/cloudformation-include module. * * @internal */ static _fromCloudFormation(scope: constructs.Construct, id: string, resourceAttributes: any, options: cfn_parse.FromCloudFormationOptions): CfnGroupMembership; /** * The identifier for a `GroupMembership` in the identity store. * * @cloudformationAttribute MembershipId */ readonly attrMembershipId: string; /** * The unique identifier for a group in the identity store. */ groupId: string; /** * The globally unique identifier for the identity store. */ identityStoreId: string; /** * An object containing the identifier of a group member. */ memberId: cdk.IResolvable | CfnGroupMembership.MemberIdProperty; /** * @param scope Scope in which this resource is defined * @param id Construct identifier for this resource (unique in its scope) * @param props Resource properties */ constructor(scope: constructs.Construct, id: string, props: CfnGroupMembershipProps); protected get cfnProperties(): Record<string, any>; /** * Examines the CloudFormation resource and discloses attributes * * @param inspector tree inspector to collect and process attributes */ inspect(inspector: cdk.TreeInspector): void; protected renderProperties(props: Record<string, any>): Record<string, any>; } export declare namespace CfnGroupMembership { /** * An object that contains the identifier of a group member. * * Setting the `UserID` field to the specific identifier for a user indicates that the user is a member of the group. * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-identitystore-groupmembership-memberid.html */ interface MemberIdProperty { /** * The identifier for a user in the identity store. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-identitystore-groupmembership-memberid.html#cfn-identitystore-groupmembership-memberid-userid */ readonly userId: string; } } /** * Properties for defining a `CfnGroupMembership` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-identitystore-groupmembership.html */ export interface CfnGroupMembershipProps { /** * The unique identifier for a group in the identity store. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-identitystore-groupmembership.html#cfn-identitystore-groupmembership-groupid */ readonly groupId: string; /** * The globally unique identifier for the identity store. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-identitystore-groupmembership.html#cfn-identitystore-groupmembership-identitystoreid */ readonly identityStoreId: string; /** * An object containing the identifier of a group member. * * Setting `MemberId` 's `UserId` field to a specific User's ID indicates we should consider that User as a group member. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-identitystore-groupmembership.html#cfn-identitystore-groupmembership-memberid */ readonly memberId: cdk.IResolvable | CfnGroupMembership.MemberIdProperty; }