422 lines
15 KiB
TypeScript
422 lines
15 KiB
TypeScript
import * as cdk from "../../core/lib";
|
|
import * as constructs from "constructs";
|
|
import * as cfn_parse from "../../core/lib/helpers-internal";
|
|
import { IProfileAssociationRef, IProfileRef, IProfileResourceAssociationRef, ProfileAssociationReference, ProfileReference, ProfileResourceAssociationReference } from "../../interfaces/generated/aws-route53profiles-interfaces.generated";
|
|
/**
|
|
* A complex type that includes settings for a Route 53 Profile.
|
|
*
|
|
* @cloudformationResource AWS::Route53Profiles::Profile
|
|
* @stability external
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profile.html
|
|
*/
|
|
export declare class CfnProfile extends cdk.CfnResource implements cdk.IInspectable, IProfileRef, cdk.ITaggableV2 {
|
|
/**
|
|
* The CloudFormation resource type name for this resource class.
|
|
*/
|
|
static readonly CFN_RESOURCE_TYPE_NAME: string;
|
|
/**
|
|
* Build a CfnProfile 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): CfnProfile;
|
|
/**
|
|
* Checks whether the given object is a CfnProfile
|
|
*/
|
|
static isCfnProfile(x: any): x is CfnProfile;
|
|
static arnForProfile(resource: IProfileRef): string;
|
|
/**
|
|
* Tag Manager which manages the tags for this resource
|
|
*/
|
|
readonly cdkTagManager: cdk.TagManager;
|
|
/**
|
|
* Name of the Profile.
|
|
*/
|
|
private _name;
|
|
/**
|
|
* A list of the tag keys and values that you want to associate with the profile.
|
|
*/
|
|
private _tags?;
|
|
protected readonly cfnPropertyNames: Record<string, string>;
|
|
/**
|
|
* Create a new `AWS::Route53Profiles::Profile`.
|
|
*
|
|
* @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: CfnProfileProps);
|
|
get profileRef(): ProfileReference;
|
|
/**
|
|
* Name of the Profile.
|
|
*/
|
|
get name(): string;
|
|
/**
|
|
* Name of the Profile.
|
|
*/
|
|
set name(value: string);
|
|
/**
|
|
* A list of the tag keys and values that you want to associate with the profile.
|
|
*/
|
|
get tags(): Array<cdk.CfnTag> | undefined;
|
|
/**
|
|
* A list of the tag keys and values that you want to associate with the profile.
|
|
*/
|
|
set tags(value: Array<cdk.CfnTag> | undefined);
|
|
/**
|
|
* The Amazon Resource Name (ARN) of the Profile.
|
|
*
|
|
* @cloudformationAttribute Arn
|
|
*/
|
|
get attrArn(): string;
|
|
/**
|
|
* The `ClientToken` value that was assigned when the Profile was created.
|
|
*
|
|
* @cloudformationAttribute ClientToken
|
|
*/
|
|
get attrClientToken(): string;
|
|
/**
|
|
* ID of the Profile.
|
|
*
|
|
* @cloudformationAttribute Id
|
|
*/
|
|
get attrId(): string;
|
|
/**
|
|
* Sharing status for the Profile.
|
|
*
|
|
* @cloudformationAttribute ShareStatus
|
|
*/
|
|
get attrShareStatus(): string;
|
|
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 `CfnProfile`
|
|
*
|
|
* @struct
|
|
* @stability external
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profile.html
|
|
*/
|
|
export interface CfnProfileProps {
|
|
/**
|
|
* Name of the Profile.
|
|
*
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profile.html#cfn-route53profiles-profile-name
|
|
*/
|
|
readonly name: string;
|
|
/**
|
|
* A list of the tag keys and values that you want to associate with the profile.
|
|
*
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profile.html#cfn-route53profiles-profile-tags
|
|
*/
|
|
readonly tags?: Array<cdk.CfnTag>;
|
|
}
|
|
/**
|
|
* An association between a Route 53 Profile and a VPC.
|
|
*
|
|
* @cloudformationResource AWS::Route53Profiles::ProfileAssociation
|
|
* @stability external
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html
|
|
*/
|
|
export declare class CfnProfileAssociation extends cdk.CfnResource implements cdk.IInspectable, IProfileAssociationRef, cdk.ITaggableV2 {
|
|
/**
|
|
* The CloudFormation resource type name for this resource class.
|
|
*/
|
|
static readonly CFN_RESOURCE_TYPE_NAME: string;
|
|
/**
|
|
* Build a CfnProfileAssociation 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): CfnProfileAssociation;
|
|
/**
|
|
* Checks whether the given object is a CfnProfileAssociation
|
|
*/
|
|
static isCfnProfileAssociation(x: any): x is CfnProfileAssociation;
|
|
static arnForProfileAssociation(resource: IProfileAssociationRef): string;
|
|
/**
|
|
* The Amazon Resource Name (ARN) of the profile association to a VPC.
|
|
*/
|
|
private _arn?;
|
|
/**
|
|
* Tag Manager which manages the tags for this resource
|
|
*/
|
|
readonly cdkTagManager: cdk.TagManager;
|
|
/**
|
|
* Name of the Profile association.
|
|
*/
|
|
private _name;
|
|
/**
|
|
* ID of the Profile.
|
|
*/
|
|
private _profileId;
|
|
/**
|
|
* The ID of the VPC.
|
|
*/
|
|
private _resourceId;
|
|
/**
|
|
* An array of key-value pairs to apply to this resource.
|
|
*/
|
|
private _tags?;
|
|
protected readonly cfnPropertyNames: Record<string, string>;
|
|
/**
|
|
* Create a new `AWS::Route53Profiles::ProfileAssociation`.
|
|
*
|
|
* @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: CfnProfileAssociationProps);
|
|
get profileAssociationRef(): ProfileAssociationReference;
|
|
/**
|
|
* The Amazon Resource Name (ARN) of the profile association to a VPC.
|
|
*/
|
|
get arn(): string | undefined;
|
|
/**
|
|
* The Amazon Resource Name (ARN) of the profile association to a VPC.
|
|
*/
|
|
set arn(value: string | undefined);
|
|
/**
|
|
* Name of the Profile association.
|
|
*/
|
|
get name(): string;
|
|
/**
|
|
* Name of the Profile association.
|
|
*/
|
|
set name(value: string);
|
|
/**
|
|
* ID of the Profile.
|
|
*/
|
|
get profileId(): string;
|
|
/**
|
|
* ID of the Profile.
|
|
*/
|
|
set profileId(value: string);
|
|
/**
|
|
* The ID of the VPC.
|
|
*/
|
|
get resourceId(): string;
|
|
/**
|
|
* The ID of the VPC.
|
|
*/
|
|
set resourceId(value: string);
|
|
/**
|
|
* An array of key-value pairs to apply to this resource.
|
|
*/
|
|
get tags(): Array<cdk.CfnTag> | undefined;
|
|
/**
|
|
* An array of key-value pairs to apply to this resource.
|
|
*/
|
|
set tags(value: Array<cdk.CfnTag> | undefined);
|
|
/**
|
|
* ID of the Profile association.
|
|
*
|
|
* @cloudformationAttribute Id
|
|
*/
|
|
get attrId(): string;
|
|
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 `CfnProfileAssociation`
|
|
*
|
|
* @struct
|
|
* @stability external
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html
|
|
*/
|
|
export interface CfnProfileAssociationProps {
|
|
/**
|
|
* The Amazon Resource Name (ARN) of the profile association to a VPC.
|
|
*
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-arn
|
|
*/
|
|
readonly arn?: string;
|
|
/**
|
|
* Name of the Profile association.
|
|
*
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-name
|
|
*/
|
|
readonly name: string;
|
|
/**
|
|
* ID of the Profile.
|
|
*
|
|
* Update to this property requires update to the `ResourceId` property as well, because you can only associate one Profile per VPC. For more information, see [Route 53 Profiles](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/profiles.html) .
|
|
*
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-profileid
|
|
*/
|
|
readonly profileId: string;
|
|
/**
|
|
* The ID of the VPC.
|
|
*
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-resourceid
|
|
*/
|
|
readonly resourceId: string;
|
|
/**
|
|
* An array of key-value pairs to apply to this resource.
|
|
*
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileassociation.html#cfn-route53profiles-profileassociation-tags
|
|
*/
|
|
readonly tags?: Array<cdk.CfnTag>;
|
|
}
|
|
/**
|
|
* The association between a Route 53 Profile and resources.
|
|
*
|
|
* @cloudformationResource AWS::Route53Profiles::ProfileResourceAssociation
|
|
* @stability external
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html
|
|
*/
|
|
export declare class CfnProfileResourceAssociation extends cdk.CfnResource implements cdk.IInspectable, IProfileResourceAssociationRef {
|
|
/**
|
|
* The CloudFormation resource type name for this resource class.
|
|
*/
|
|
static readonly CFN_RESOURCE_TYPE_NAME: string;
|
|
/**
|
|
* Build a CfnProfileResourceAssociation 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): CfnProfileResourceAssociation;
|
|
/**
|
|
* Checks whether the given object is a CfnProfileResourceAssociation
|
|
*/
|
|
static isCfnProfileResourceAssociation(x: any): x is CfnProfileResourceAssociation;
|
|
/**
|
|
* Name of the Profile resource association.
|
|
*/
|
|
private _name;
|
|
/**
|
|
* Profile ID of the Profile that the resources are associated with.
|
|
*/
|
|
private _profileId;
|
|
/**
|
|
* The Amazon Resource Name (ARN) of the resource association.
|
|
*/
|
|
private _resourceArn;
|
|
/**
|
|
* If the DNS resource is a DNS Firewall rule group, this indicates the priority.
|
|
*/
|
|
private _resourceProperties?;
|
|
protected readonly cfnPropertyNames: Record<string, string>;
|
|
/**
|
|
* Create a new `AWS::Route53Profiles::ProfileResourceAssociation`.
|
|
*
|
|
* @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: CfnProfileResourceAssociationProps);
|
|
get profileResourceAssociationRef(): ProfileResourceAssociationReference;
|
|
/**
|
|
* Name of the Profile resource association.
|
|
*/
|
|
get name(): string;
|
|
/**
|
|
* Name of the Profile resource association.
|
|
*/
|
|
set name(value: string);
|
|
/**
|
|
* Profile ID of the Profile that the resources are associated with.
|
|
*/
|
|
get profileId(): string;
|
|
/**
|
|
* Profile ID of the Profile that the resources are associated with.
|
|
*/
|
|
set profileId(value: string);
|
|
/**
|
|
* The Amazon Resource Name (ARN) of the resource association.
|
|
*/
|
|
get resourceArn(): string;
|
|
/**
|
|
* The Amazon Resource Name (ARN) of the resource association.
|
|
*/
|
|
set resourceArn(value: string);
|
|
/**
|
|
* If the DNS resource is a DNS Firewall rule group, this indicates the priority.
|
|
*/
|
|
get resourceProperties(): string | undefined;
|
|
/**
|
|
* If the DNS resource is a DNS Firewall rule group, this indicates the priority.
|
|
*/
|
|
set resourceProperties(value: string | undefined);
|
|
/**
|
|
* ID of the Profile resource association.
|
|
*
|
|
* @cloudformationAttribute Id
|
|
*/
|
|
get attrId(): string;
|
|
/**
|
|
* Resource type, such as a private hosted zone, interface VPC endpoint, or DNS Firewall rule group.
|
|
*
|
|
* @cloudformationAttribute ResourceType
|
|
*/
|
|
get attrResourceType(): string;
|
|
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 `CfnProfileResourceAssociation`
|
|
*
|
|
* @struct
|
|
* @stability external
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html
|
|
*/
|
|
export interface CfnProfileResourceAssociationProps {
|
|
/**
|
|
* Name of the Profile resource association.
|
|
*
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html#cfn-route53profiles-profileresourceassociation-name
|
|
*/
|
|
readonly name: string;
|
|
/**
|
|
* Profile ID of the Profile that the resources are associated with.
|
|
*
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html#cfn-route53profiles-profileresourceassociation-profileid
|
|
*/
|
|
readonly profileId: string;
|
|
/**
|
|
* The Amazon Resource Name (ARN) of the resource association.
|
|
*
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html#cfn-route53profiles-profileresourceassociation-resourcearn
|
|
*/
|
|
readonly resourceArn: string;
|
|
/**
|
|
* If the DNS resource is a DNS Firewall rule group, this indicates the priority.
|
|
*
|
|
* @see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53profiles-profileresourceassociation.html#cfn-route53profiles-profileresourceassociation-resourceproperties
|
|
*/
|
|
readonly resourceProperties?: string;
|
|
}
|
|
export type { IProfileRef, ProfileReference };
|
|
export type { IProfileAssociationRef, ProfileAssociationReference };
|
|
export type { IProfileResourceAssociationRef, ProfileResourceAssociationReference };
|