@cdktf/provider-aws
Version:
Prebuilt aws Provider for Terraform CDK (cdktf)
194 lines (193 loc) • 9.32 kB
TypeScript
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface Macie2CustomDataIdentifierConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/macie2_custom_data_identifier#description Macie2CustomDataIdentifier#description}
*/
readonly description?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/macie2_custom_data_identifier#id Macie2CustomDataIdentifier#id}
*
* Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2.
* If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
*/
readonly id?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/macie2_custom_data_identifier#ignore_words Macie2CustomDataIdentifier#ignore_words}
*/
readonly ignoreWords?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/macie2_custom_data_identifier#keywords Macie2CustomDataIdentifier#keywords}
*/
readonly keywords?: string[];
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/macie2_custom_data_identifier#maximum_match_distance Macie2CustomDataIdentifier#maximum_match_distance}
*/
readonly maximumMatchDistance?: number;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/macie2_custom_data_identifier#name Macie2CustomDataIdentifier#name}
*/
readonly name?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/macie2_custom_data_identifier#name_prefix Macie2CustomDataIdentifier#name_prefix}
*/
readonly namePrefix?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/macie2_custom_data_identifier#regex Macie2CustomDataIdentifier#regex}
*/
readonly regex?: string;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the [provider configuration](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#aws-configuration-reference).
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/macie2_custom_data_identifier#region Macie2CustomDataIdentifier#region}
*/
readonly region?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/macie2_custom_data_identifier#tags Macie2CustomDataIdentifier#tags}
*/
readonly tags?: {
[key: string]: string;
};
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/macie2_custom_data_identifier#tags_all Macie2CustomDataIdentifier#tags_all}
*/
readonly tagsAll?: {
[key: string]: string;
};
/**
* timeouts block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/macie2_custom_data_identifier#timeouts Macie2CustomDataIdentifier#timeouts}
*/
readonly timeouts?: Macie2CustomDataIdentifierTimeouts;
}
export interface Macie2CustomDataIdentifierTimeouts {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/macie2_custom_data_identifier#create Macie2CustomDataIdentifier#create}
*/
readonly create?: string;
}
export declare function macie2CustomDataIdentifierTimeoutsToTerraform(struct?: Macie2CustomDataIdentifierTimeouts | cdktf.IResolvable): any;
export declare function macie2CustomDataIdentifierTimeoutsToHclTerraform(struct?: Macie2CustomDataIdentifierTimeouts | cdktf.IResolvable): any;
export declare class Macie2CustomDataIdentifierTimeoutsOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
private resolvableValue?;
/**
* @param terraformResource The parent resource
* @param terraformAttribute The attribute on the parent resource this class is referencing
*/
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
get internalValue(): Macie2CustomDataIdentifierTimeouts | cdktf.IResolvable | undefined;
set internalValue(value: Macie2CustomDataIdentifierTimeouts | cdktf.IResolvable | undefined);
private _create?;
get create(): string;
set create(value: string);
resetCreate(): void;
get createInput(): string | undefined;
}
/**
* Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/macie2_custom_data_identifier aws_macie2_custom_data_identifier}
*/
export declare class Macie2CustomDataIdentifier extends cdktf.TerraformResource {
static readonly tfResourceType = "aws_macie2_custom_data_identifier";
/**
* Generates CDKTF code for importing a Macie2CustomDataIdentifier resource upon running "cdktf plan <stack-name>"
* @param scope The scope in which to define this construct
* @param importToId The construct id used in the generated config for the Macie2CustomDataIdentifier to import
* @param importFromId The id of the existing Macie2CustomDataIdentifier that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/macie2_custom_data_identifier#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the Macie2CustomDataIdentifier to import is found
*/
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource;
/**
* Create a new {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/macie2_custom_data_identifier aws_macie2_custom_data_identifier} Resource
*
* @param scope The scope in which to define this construct
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
* @param options Macie2CustomDataIdentifierConfig = {}
*/
constructor(scope: Construct, id: string, config?: Macie2CustomDataIdentifierConfig);
get arn(): string;
get createdAt(): string;
private _description?;
get description(): string;
set description(value: string);
resetDescription(): void;
get descriptionInput(): string | undefined;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _ignoreWords?;
get ignoreWords(): string[];
set ignoreWords(value: string[]);
resetIgnoreWords(): void;
get ignoreWordsInput(): string[] | undefined;
private _keywords?;
get keywords(): string[];
set keywords(value: string[]);
resetKeywords(): void;
get keywordsInput(): string[] | undefined;
private _maximumMatchDistance?;
get maximumMatchDistance(): number;
set maximumMatchDistance(value: number);
resetMaximumMatchDistance(): void;
get maximumMatchDistanceInput(): number | undefined;
private _name?;
get name(): string;
set name(value: string);
resetName(): void;
get nameInput(): string | undefined;
private _namePrefix?;
get namePrefix(): string;
set namePrefix(value: string);
resetNamePrefix(): void;
get namePrefixInput(): string | undefined;
private _regex?;
get regex(): string;
set regex(value: string);
resetRegex(): void;
get regexInput(): string | undefined;
private _region?;
get region(): string;
set region(value: string);
resetRegion(): void;
get regionInput(): string | undefined;
private _tags?;
get tags(): {
[key: string]: string;
};
set tags(value: {
[key: string]: string;
});
resetTags(): void;
get tagsInput(): {
[key: string]: string;
} | undefined;
private _tagsAll?;
get tagsAll(): {
[key: string]: string;
};
set tagsAll(value: {
[key: string]: string;
});
resetTagsAll(): void;
get tagsAllInput(): {
[key: string]: string;
} | undefined;
private _timeouts;
get timeouts(): Macie2CustomDataIdentifierTimeoutsOutputReference;
putTimeouts(value: Macie2CustomDataIdentifierTimeouts): void;
resetTimeouts(): void;
get timeoutsInput(): cdktf.IResolvable | Macie2CustomDataIdentifierTimeouts | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}