import * as cdk from "../../core/lib"; import * as constructs from "constructs"; import * as cfn_parse from "../../core/lib/helpers-internal"; import { ApplicationReference, EntitlementReference, IApplicationRef, IEntitlementRef } from "../../interfaces/generated/aws-accountaccess-interfaces.generated"; /** * Resource Type definition for AWS::AccountAccess::Application specifying an application for account access. * * @cloudformationResource AWS::AccountAccess::Application * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accountaccess-application.html */ export declare class CfnApplication extends cdk.CfnResource implements cdk.IInspectable, IApplicationRef, cdk.ITaggableV2 { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnApplication 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): CfnApplication; /** * Checks whether the given object is a CfnApplication */ static isCfnApplication(x: any): x is CfnApplication; static arnForApplication(resource: IApplicationRef): string; /** * Tag Manager which manages the tags for this resource */ readonly cdkTagManager: cdk.TagManager; private _identitySource; /** * An array of key-value pairs to apply to this resource. */ private _tags?; protected readonly cfnPropertyNames: Record; /** * Create a new `AWS::AccountAccess::Application`. * * @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: CfnApplicationProps); get applicationRef(): ApplicationReference; get identitySource(): CfnApplication.IdentitySourceProperty | cdk.IResolvable; set identitySource(value: CfnApplication.IdentitySourceProperty | cdk.IResolvable); /** * An array of key-value pairs to apply to this resource. */ get tags(): Array | undefined; /** * An array of key-value pairs to apply to this resource. */ set tags(value: Array | undefined); /** * The ARN of the application * * @cloudformationAttribute ApplicationArn */ get attrApplicationArn(): string; /** * The timestamp when the application was created * * @cloudformationAttribute CreatedAt */ get attrCreatedAt(): string; /** * The ARN of the associated Identity Center application * * @cloudformationAttribute IdentitySource.IdentityCenter.ApplicationArn */ get attrIdentitySourceIdentityCenterApplicationArn(): string; /** * The status of the application * * @cloudformationAttribute Status */ get attrStatus(): string; /** * The tenant ID of the application * * @cloudformationAttribute TenantId */ get attrTenantId(): string; /** * The timestamp when the application was last updated * * @cloudformationAttribute UpdatedAt */ get attrUpdatedAt(): string; protected get cfnProperties(): Record; /** * 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): Record; } export declare namespace CfnApplication { /** * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accountaccess-application-identitysource.html */ interface IdentitySourceProperty { /** * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accountaccess-application-identitysource.html#cfn-accountaccess-application-identitysource-identitycenter */ readonly identityCenter: CfnApplication.IdentityCenterProperty | cdk.IResolvable; } /** * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accountaccess-application-identitycenter.html */ interface IdentityCenterProperty { /** * The ARN of the associated Identity Center application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accountaccess-application-identitycenter.html#cfn-accountaccess-application-identitycenter-applicationarn */ readonly applicationArn?: string; /** * The ARN of the Identity Center instance. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accountaccess-application-identitycenter.html#cfn-accountaccess-application-identitycenter-instancearn */ readonly instanceArn: string; } } /** * Properties for defining a `CfnApplication` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accountaccess-application.html */ export interface CfnApplicationProps { /** * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accountaccess-application.html#cfn-accountaccess-application-identitysource */ readonly identitySource: CfnApplication.IdentitySourceProperty | cdk.IResolvable; /** * An array of key-value pairs to apply to this resource. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accountaccess-application.html#cfn-accountaccess-application-tags */ readonly tags?: Array; } /** * Resource Type definition for AWS::AccountAccess::Entitlement specifying an entitlement for account access. * * @cloudformationResource AWS::AccountAccess::Entitlement * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accountaccess-entitlement.html */ export declare class CfnEntitlement extends cdk.CfnResource implements cdk.IInspectable, IEntitlementRef { /** * The CloudFormation resource type name for this resource class. */ static readonly CFN_RESOURCE_TYPE_NAME: string; /** * Build a CfnEntitlement 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): CfnEntitlement; /** * Checks whether the given object is a CfnEntitlement */ static isCfnEntitlement(x: any): x is CfnEntitlement; /** * The ARN of the application. */ private _applicationArn; private _entitlement; protected readonly cfnPropertyNames: Record; /** * Create a new `AWS::AccountAccess::Entitlement`. * * @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: CfnEntitlementProps); get entitlementRef(): EntitlementReference; /** * The ARN of the application. */ get applicationArn(): string; /** * The ARN of the application. */ set applicationArn(value: string); get entitlement(): CfnEntitlement.EntitlementProperty | cdk.IResolvable; set entitlement(value: CfnEntitlement.EntitlementProperty | cdk.IResolvable); /** * The timestamp when the entitlement was created * * @cloudformationAttribute CreatedAt */ get attrCreatedAt(): string; /** * The ID of the entitlement * * @cloudformationAttribute EntitlementId */ get attrEntitlementId(): string; /** * The AWS account ID * * @cloudformationAttribute Entitlement.PrincipalRole.Account */ get attrEntitlementPrincipalRoleAccount(): string; protected get cfnProperties(): Record; /** * 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): Record; } export declare namespace CfnEntitlement { /** * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accountaccess-entitlement-entitlement.html */ interface EntitlementProperty { /** * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accountaccess-entitlement-entitlement.html#cfn-accountaccess-entitlement-entitlement-principalrole */ readonly principalRole: cdk.IResolvable | CfnEntitlement.PrincipalRoleEntitlementProperty; } /** * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accountaccess-entitlement-principalroleentitlement.html */ interface PrincipalRoleEntitlementProperty { /** * The AWS account ID. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accountaccess-entitlement-principalroleentitlement.html#cfn-accountaccess-entitlement-principalroleentitlement-account */ readonly account?: string; /** * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accountaccess-entitlement-principalroleentitlement.html#cfn-accountaccess-entitlement-principalroleentitlement-principal */ readonly principal: cdk.IResolvable | CfnEntitlement.PrincipalProperty; /** * The ARN of the IAM role. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accountaccess-entitlement-principalroleentitlement.html#cfn-accountaccess-entitlement-principalroleentitlement-rolearn */ readonly roleArn: string; } /** * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accountaccess-entitlement-principal.html */ interface PrincipalProperty { /** * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accountaccess-entitlement-principal.html#cfn-accountaccess-entitlement-principal-identitycenter */ readonly identityCenter: CfnEntitlement.IdentityCenterPrincipalProperty | cdk.IResolvable; } /** * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accountaccess-entitlement-identitycenterprincipal.html */ interface IdentityCenterPrincipalProperty { /** * The ID of the group. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accountaccess-entitlement-identitycenterprincipal.html#cfn-accountaccess-entitlement-identitycenterprincipal-groupid */ readonly groupId?: string; /** * The ID of the user. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-accountaccess-entitlement-identitycenterprincipal.html#cfn-accountaccess-entitlement-identitycenterprincipal-userid */ readonly userId?: string; } } /** * Properties for defining a `CfnEntitlement` * * @struct * @stability external * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accountaccess-entitlement.html */ export interface CfnEntitlementProps { /** * The ARN of the application. * * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accountaccess-entitlement.html#cfn-accountaccess-entitlement-applicationarn */ readonly applicationArn: string; /** * @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accountaccess-entitlement.html#cfn-accountaccess-entitlement-entitlement */ readonly entitlement: CfnEntitlement.EntitlementProperty | cdk.IResolvable; } export type { IApplicationRef, ApplicationReference }; export type { IEntitlementRef, EntitlementReference };