UNPKG

@cdktf/provider-aws

Version:

Prebuilt aws Provider for Terraform CDK (cdktf)

129 lines (128 loc) 6.9 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface AutoscalingLifecycleHookConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/autoscaling_lifecycle_hook#autoscaling_group_name AutoscalingLifecycleHook#autoscaling_group_name} */ readonly autoscalingGroupName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/autoscaling_lifecycle_hook#default_result AutoscalingLifecycleHook#default_result} */ readonly defaultResult?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/autoscaling_lifecycle_hook#heartbeat_timeout AutoscalingLifecycleHook#heartbeat_timeout} */ readonly heartbeatTimeout?: number; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/autoscaling_lifecycle_hook#id AutoscalingLifecycleHook#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/autoscaling_lifecycle_hook#lifecycle_transition AutoscalingLifecycleHook#lifecycle_transition} */ readonly lifecycleTransition: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/autoscaling_lifecycle_hook#name AutoscalingLifecycleHook#name} */ readonly name: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/autoscaling_lifecycle_hook#notification_metadata AutoscalingLifecycleHook#notification_metadata} */ readonly notificationMetadata?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/autoscaling_lifecycle_hook#notification_target_arn AutoscalingLifecycleHook#notification_target_arn} */ readonly notificationTargetArn?: 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/autoscaling_lifecycle_hook#region AutoscalingLifecycleHook#region} */ readonly region?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/autoscaling_lifecycle_hook#role_arn AutoscalingLifecycleHook#role_arn} */ readonly roleArn?: string; } /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/autoscaling_lifecycle_hook aws_autoscaling_lifecycle_hook} */ export declare class AutoscalingLifecycleHook extends cdktf.TerraformResource { static readonly tfResourceType = "aws_autoscaling_lifecycle_hook"; /** * Generates CDKTF code for importing a AutoscalingLifecycleHook 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 AutoscalingLifecycleHook to import * @param importFromId The id of the existing AutoscalingLifecycleHook that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/aws/6.25.0/docs/resources/autoscaling_lifecycle_hook#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the AutoscalingLifecycleHook 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/autoscaling_lifecycle_hook aws_autoscaling_lifecycle_hook} 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 AutoscalingLifecycleHookConfig */ constructor(scope: Construct, id: string, config: AutoscalingLifecycleHookConfig); private _autoscalingGroupName?; get autoscalingGroupName(): string; set autoscalingGroupName(value: string); get autoscalingGroupNameInput(): string | undefined; private _defaultResult?; get defaultResult(): string; set defaultResult(value: string); resetDefaultResult(): void; get defaultResultInput(): string | undefined; private _heartbeatTimeout?; get heartbeatTimeout(): number; set heartbeatTimeout(value: number); resetHeartbeatTimeout(): void; get heartbeatTimeoutInput(): number | undefined; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _lifecycleTransition?; get lifecycleTransition(): string; set lifecycleTransition(value: string); get lifecycleTransitionInput(): string | undefined; private _name?; get name(): string; set name(value: string); get nameInput(): string | undefined; private _notificationMetadata?; get notificationMetadata(): string; set notificationMetadata(value: string); resetNotificationMetadata(): void; get notificationMetadataInput(): string | undefined; private _notificationTargetArn?; get notificationTargetArn(): string; set notificationTargetArn(value: string); resetNotificationTargetArn(): void; get notificationTargetArnInput(): string | undefined; private _region?; get region(): string; set region(value: string); resetRegion(): void; get regionInput(): string | undefined; private _roleArn?; get roleArn(): string; set roleArn(value: string); resetRoleArn(): void; get roleArnInput(): string | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }