Refer to the Terraform Registory for docs: aws_api_gateway_stage
.
Represents a {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/api_gateway_stage aws_api_gateway_stage}.
import { apiGatewayStage } from '@cdktf/aws-cdk'
new apiGatewayStage.ApiGatewayStage(scope: Construct, id: string, config: ApiGatewayStageConfig)
Name | Type | Description |
---|---|---|
scope |
constructs.Construct |
The scope in which to define this construct. |
id |
string |
The scoped construct ID. |
config |
ApiGatewayStageConfig |
No description. |
- Type: constructs.Construct
The scope in which to define this construct.
- Type: string
The scoped construct ID.
Must be unique amongst siblings in the same scope
- Type: ApiGatewayStageConfig
Name | Description |
---|---|
toString |
Returns a string representation of this construct. |
addOverride |
No description. |
overrideLogicalId |
Overrides the auto-generated logical ID with a specific ID. |
resetOverrideLogicalId |
Resets a previously passed logical Id to use the auto-generated logical id again. |
toMetadata |
No description. |
toTerraform |
Adds this resource to the terraform JSON output. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
interpolationForAttribute |
No description. |
putAccessLogSettings |
No description. |
resetAccessLogSettings |
No description. |
resetCacheClusterEnabled |
No description. |
resetCacheClusterSize |
No description. |
resetClientCertificateId |
No description. |
resetDescription |
No description. |
resetDocumentationVersion |
No description. |
resetId |
No description. |
resetTags |
No description. |
resetTagsAll |
No description. |
resetVariables |
No description. |
resetXrayTracingEnabled |
No description. |
public toString(): string
Returns a string representation of this construct.
public addOverride(path: string, value: any): void
- Type: string
- Type: any
public overrideLogicalId(newLogicalId: string): void
Overrides the auto-generated logical ID with a specific ID.
- Type: string
The new logical ID to use for this stack element.
public resetOverrideLogicalId(): void
Resets a previously passed logical Id to use the auto-generated logical id again.
public toMetadata(): any
public toTerraform(): any
Adds this resource to the terraform JSON output.
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public interpolationForAttribute(terraformAttribute: string): IResolvable
- Type: string
public putAccessLogSettings(value: ApiGatewayStageAccessLogSettings): void
public resetAccessLogSettings(): void
public resetCacheClusterEnabled(): void
public resetCacheClusterSize(): void
public resetClientCertificateId(): void
public resetDescription(): void
public resetDocumentationVersion(): void
public resetId(): void
public resetTags(): void
public resetTagsAll(): void
public resetVariables(): void
public resetXrayTracingEnabled(): void
Name | Description |
---|---|
isConstruct |
Checks if x is a construct. |
isTerraformElement |
No description. |
isTerraformResource |
No description. |
import { apiGatewayStage } from '@cdktf/aws-cdk'
apiGatewayStage.ApiGatewayStage.isConstruct(x: any)
Checks if x
is a construct.
Use this method instead of instanceof
to properly detect Construct
instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the constructs
library on
disk are seen as independent, completely different libraries. As a
consequence, the class Construct
in each copy of the constructs
library
is seen as a different class, and an instance of one class will not test as
instanceof
the other class. npm install
will not create installations
like this, but users may manually symlink construct libraries together or
use a monorepo tool: in those cases, multiple copies of the constructs
library can be accidentally installed, and instanceof
will behave
unpredictably. It is safest to avoid using instanceof
, and using
this type-testing method instead.
- Type: any
Any object.
import { apiGatewayStage } from '@cdktf/aws-cdk'
apiGatewayStage.ApiGatewayStage.isTerraformElement(x: any)
- Type: any
import { apiGatewayStage } from '@cdktf/aws-cdk'
apiGatewayStage.ApiGatewayStage.isTerraformResource(x: any)
- Type: any
Name | Type | Description |
---|---|---|
node |
constructs.Node |
The tree node. |
cdktfStack |
cdktf.TerraformStack |
No description. |
fqn |
string |
No description. |
friendlyUniqueId |
string |
No description. |
terraformMetaArguments |
{[ key: string ]: any} |
No description. |
terraformResourceType |
string |
No description. |
terraformGeneratorMetadata |
cdktf.TerraformProviderGeneratorMetadata |
No description. |
connection |
cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection |
No description. |
count |
number | cdktf.TerraformCount |
No description. |
dependsOn |
string[] |
No description. |
forEach |
cdktf.ITerraformIterator |
No description. |
lifecycle |
cdktf.TerraformResourceLifecycle |
No description. |
provider |
cdktf.TerraformProvider |
No description. |
provisioners |
cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[] |
No description. |
accessLogSettings |
ApiGatewayStageAccessLogSettingsOutputReference |
No description. |
arn |
string |
No description. |
executionArn |
string |
No description. |
invokeUrl |
string |
No description. |
webAclArn |
string |
No description. |
accessLogSettingsInput |
ApiGatewayStageAccessLogSettings |
No description. |
cacheClusterEnabledInput |
boolean | cdktf.IResolvable |
No description. |
cacheClusterSizeInput |
string |
No description. |
clientCertificateIdInput |
string |
No description. |
deploymentIdInput |
string |
No description. |
descriptionInput |
string |
No description. |
documentationVersionInput |
string |
No description. |
idInput |
string |
No description. |
restApiIdInput |
string |
No description. |
stageNameInput |
string |
No description. |
tagsAllInput |
{[ key: string ]: string} |
No description. |
tagsInput |
{[ key: string ]: string} |
No description. |
variablesInput |
{[ key: string ]: string} |
No description. |
xrayTracingEnabledInput |
boolean | cdktf.IResolvable |
No description. |
cacheClusterEnabled |
boolean | cdktf.IResolvable |
No description. |
cacheClusterSize |
string |
No description. |
clientCertificateId |
string |
No description. |
deploymentId |
string |
No description. |
description |
string |
No description. |
documentationVersion |
string |
No description. |
id |
string |
No description. |
restApiId |
string |
No description. |
stageName |
string |
No description. |
tags |
{[ key: string ]: string} |
No description. |
tagsAll |
{[ key: string ]: string} |
No description. |
variables |
{[ key: string ]: string} |
No description. |
xrayTracingEnabled |
boolean | cdktf.IResolvable |
No description. |
public readonly node: Node;
- Type: constructs.Node
The tree node.
public readonly cdktfStack: TerraformStack;
- Type: cdktf.TerraformStack
public readonly fqn: string;
- Type: string
public readonly friendlyUniqueId: string;
- Type: string
public readonly terraformMetaArguments: {[ key: string ]: any};
- Type: {[ key: string ]: any}
public readonly terraformResourceType: string;
- Type: string
public readonly terraformGeneratorMetadata: TerraformProviderGeneratorMetadata;
- Type: cdktf.TerraformProviderGeneratorMetadata
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
- Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection
public readonly count: number | TerraformCount;
- Type: number | cdktf.TerraformCount
public readonly dependsOn: string[];
- Type: string[]
public readonly forEach: ITerraformIterator;
- Type: cdktf.ITerraformIterator
public readonly lifecycle: TerraformResourceLifecycle;
- Type: cdktf.TerraformResourceLifecycle
public readonly provider: TerraformProvider;
- Type: cdktf.TerraformProvider
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
- Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]
public readonly accessLogSettings: ApiGatewayStageAccessLogSettingsOutputReference;
public readonly arn: string;
- Type: string
public readonly executionArn: string;
- Type: string
public readonly invokeUrl: string;
- Type: string
public readonly webAclArn: string;
- Type: string
public readonly accessLogSettingsInput: ApiGatewayStageAccessLogSettings;
public readonly cacheClusterEnabledInput: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly cacheClusterSizeInput: string;
- Type: string
public readonly clientCertificateIdInput: string;
- Type: string
public readonly deploymentIdInput: string;
- Type: string
public readonly descriptionInput: string;
- Type: string
public readonly documentationVersionInput: string;
- Type: string
public readonly idInput: string;
- Type: string
public readonly restApiIdInput: string;
- Type: string
public readonly stageNameInput: string;
- Type: string
public readonly tagsAllInput: {[ key: string ]: string};
- Type: {[ key: string ]: string}
public readonly tagsInput: {[ key: string ]: string};
- Type: {[ key: string ]: string}
public readonly variablesInput: {[ key: string ]: string};
- Type: {[ key: string ]: string}
public readonly xrayTracingEnabledInput: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly cacheClusterEnabled: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
public readonly cacheClusterSize: string;
- Type: string
public readonly clientCertificateId: string;
- Type: string
public readonly deploymentId: string;
- Type: string
public readonly description: string;
- Type: string
public readonly documentationVersion: string;
- Type: string
public readonly id: string;
- Type: string
public readonly restApiId: string;
- Type: string
public readonly stageName: string;
- Type: string
public readonly tags: {[ key: string ]: string};
- Type: {[ key: string ]: string}
public readonly tagsAll: {[ key: string ]: string};
- Type: {[ key: string ]: string}
public readonly variables: {[ key: string ]: string};
- Type: {[ key: string ]: string}
public readonly xrayTracingEnabled: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
Name | Type | Description |
---|---|---|
tfResourceType |
string |
No description. |
public readonly tfResourceType: string;
- Type: string
import { apiGatewayStage } from '@cdktf/aws-cdk'
const apiGatewayStageAccessLogSettings: apiGatewayStage.ApiGatewayStageAccessLogSettings = { ... }
Name | Type | Description |
---|---|---|
destinationArn |
string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/api_gateway_stage#destination_arn ApiGatewayStage#destination_arn}. |
format |
string |
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/api_gateway_stage#format ApiGatewayStage#format}. |
public readonly destinationArn: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/api_gateway_stage#destination_arn ApiGatewayStage#destination_arn}.
public readonly format: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/api_gateway_stage#format ApiGatewayStage#format}.
import { apiGatewayStage } from '@cdktf/aws-cdk'
const apiGatewayStageConfig: apiGatewayStage.ApiGatewayStageConfig = { ... }
public readonly connection: SSHProvisionerConnection | WinrmProvisionerConnection;
- Type: cdktf.SSHProvisionerConnection | cdktf.WinrmProvisionerConnection
public readonly count: number | TerraformCount;
- Type: number | cdktf.TerraformCount
public readonly dependsOn: ITerraformDependable[];
- Type: cdktf.ITerraformDependable[]
public readonly forEach: ITerraformIterator;
- Type: cdktf.ITerraformIterator
public readonly lifecycle: TerraformResourceLifecycle;
- Type: cdktf.TerraformResourceLifecycle
public readonly provider: TerraformProvider;
- Type: cdktf.TerraformProvider
public readonly provisioners: FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner[];
- Type: cdktf.FileProvisioner | cdktf.LocalExecProvisioner | cdktf.RemoteExecProvisioner[]
public readonly deploymentId: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/api_gateway_stage#deployment_id ApiGatewayStage#deployment_id}.
public readonly restApiId: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/api_gateway_stage#rest_api_id ApiGatewayStage#rest_api_id}.
public readonly stageName: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/api_gateway_stage#stage_name ApiGatewayStage#stage_name}.
public readonly accessLogSettings: ApiGatewayStageAccessLogSettings;
access_log_settings block.
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/api_gateway_stage#access_log_settings ApiGatewayStage#access_log_settings}
public readonly cacheClusterEnabled: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/api_gateway_stage#cache_cluster_enabled ApiGatewayStage#cache_cluster_enabled}.
public readonly cacheClusterSize: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/api_gateway_stage#cache_cluster_size ApiGatewayStage#cache_cluster_size}.
public readonly clientCertificateId: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/api_gateway_stage#client_certificate_id ApiGatewayStage#client_certificate_id}.
public readonly description: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/api_gateway_stage#description ApiGatewayStage#description}.
public readonly documentationVersion: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/api_gateway_stage#documentation_version ApiGatewayStage#documentation_version}.
public readonly id: string;
- Type: string
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/api_gateway_stage#id ApiGatewayStage#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.
public readonly tags: {[ key: string ]: string};
- Type: {[ key: string ]: string}
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/api_gateway_stage#tags ApiGatewayStage#tags}.
public readonly tagsAll: {[ key: string ]: string};
- Type: {[ key: string ]: string}
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/api_gateway_stage#tags_all ApiGatewayStage#tags_all}.
public readonly variables: {[ key: string ]: string};
- Type: {[ key: string ]: string}
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/api_gateway_stage#variables ApiGatewayStage#variables}.
public readonly xrayTracingEnabled: boolean | IResolvable;
- Type: boolean | cdktf.IResolvable
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/3.76.1/docs/resources/api_gateway_stage#xray_tracing_enabled ApiGatewayStage#xray_tracing_enabled}.
import { apiGatewayStage } from '@cdktf/aws-cdk'
new apiGatewayStage.ApiGatewayStageAccessLogSettingsOutputReference(terraformResource: IInterpolatingParent, terraformAttribute: string)
Name | Type | Description |
---|---|---|
terraformResource |
cdktf.IInterpolatingParent |
The parent resource. |
terraformAttribute |
string |
The attribute on the parent resource this class is referencing. |
- Type: cdktf.IInterpolatingParent
The parent resource.
- Type: string
The attribute on the parent resource this class is referencing.
Name | Description |
---|---|
computeFqn |
No description. |
getAnyMapAttribute |
No description. |
getBooleanAttribute |
No description. |
getBooleanMapAttribute |
No description. |
getListAttribute |
No description. |
getNumberAttribute |
No description. |
getNumberListAttribute |
No description. |
getNumberMapAttribute |
No description. |
getStringAttribute |
No description. |
getStringMapAttribute |
No description. |
interpolationForAttribute |
No description. |
resolve |
Produce the Token's value at resolution time. |
toString |
Return a string representation of this resolvable object. |
public computeFqn(): string
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
- Type: string
public getBooleanAttribute(terraformAttribute: string): IResolvable
- Type: string
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
- Type: string
public getListAttribute(terraformAttribute: string): string[]
- Type: string
public getNumberAttribute(terraformAttribute: string): number
- Type: string
public getNumberListAttribute(terraformAttribute: string): number[]
- Type: string
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
- Type: string
public getStringAttribute(terraformAttribute: string): string
- Type: string
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
- Type: string
public interpolationForAttribute(property: string): IResolvable
- Type: string
public resolve(_context: IResolveContext): any
Produce the Token's value at resolution time.
- Type: cdktf.IResolveContext
public toString(): string
Return a string representation of this resolvable object.
Returns a reversible string representation.
Name | Type | Description |
---|---|---|
creationStack |
string[] |
The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn |
string |
No description. |
destinationArnInput |
string |
No description. |
formatInput |
string |
No description. |
destinationArn |
string |
No description. |
format |
string |
No description. |
internalValue |
ApiGatewayStageAccessLogSettings |
No description. |
public readonly creationStack: string[];
- Type: string[]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
public readonly fqn: string;
- Type: string
public readonly destinationArnInput: string;
- Type: string
public readonly formatInput: string;
- Type: string
public readonly destinationArn: string;
- Type: string
public readonly format: string;
- Type: string
public readonly internalValue: ApiGatewayStageAccessLogSettings;