We recommend new projects start with resources from the AWS provider.
published on Monday, May 4, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, May 4, 2026 by Pulumi
Resource Type definition for AWS::ApiGatewayV2::Stage
Using getStage
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getStage(args: GetStageArgs, opts?: InvokeOptions): Promise<GetStageResult>
function getStageOutput(args: GetStageOutputArgs, opts?: InvokeOptions): Output<GetStageResult>def get_stage(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetStageResult
def get_stage_output(id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStageResult]func LookupStage(ctx *Context, args *LookupStageArgs, opts ...InvokeOption) (*LookupStageResult, error)
func LookupStageOutput(ctx *Context, args *LookupStageOutputArgs, opts ...InvokeOption) LookupStageResultOutput> Note: This function is named LookupStage in the Go SDK.
public static class GetStage
{
public static Task<GetStageResult> InvokeAsync(GetStageArgs args, InvokeOptions? opts = null)
public static Output<GetStageResult> Invoke(GetStageInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetStageResult> getStage(GetStageArgs args, InvokeOptions options)
public static Output<GetStageResult> getStage(GetStageArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:apigatewayv2:getStage
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- The identifier.
- Id string
- The identifier.
- id String
- The identifier.
- id string
- The identifier.
- id str
- The identifier.
- id String
- The identifier.
getStage Result
The following output properties are available:
- Access
Log Pulumi.Settings Aws Native. Api Gateway V2. Outputs. Stage Access Log Settings - Settings for logging access in this stage.
- Auto
Deploy bool - Specifies whether updates to an API automatically trigger a new deployment. The default value is
false. - Client
Certificate stringId - The identifier of a client certificate for a
Stage. Supported only for WebSocket APIs. - Default
Route Pulumi.Settings Aws Native. Api Gateway V2. Outputs. Stage Route Settings - The default route settings for the stage.
- Deployment
Id string - The deployment identifier for the API stage. Can't be updated if
autoDeployis enabled. - Description string
- The description for the API stage.
- Id string
- The identifier.
- Route
Settings object Route settings for the stage.
Search the CloudFormation User Guide for
AWS::ApiGatewayV2::Stagefor more information about the expected schema for this property.- Stage
Variables object A map that defines the stage variables for a
Stage. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.Search the CloudFormation User Guide for
AWS::ApiGatewayV2::Stagefor more information about the expected schema for this property.- object
The collection of tags. Each tag element is associated with a given resource.
Search the CloudFormation User Guide for
AWS::ApiGatewayV2::Stagefor more information about the expected schema for this property.
- Access
Log StageSettings Access Log Settings - Settings for logging access in this stage.
- Auto
Deploy bool - Specifies whether updates to an API automatically trigger a new deployment. The default value is
false. - Client
Certificate stringId - The identifier of a client certificate for a
Stage. Supported only for WebSocket APIs. - Default
Route StageSettings Route Settings - The default route settings for the stage.
- Deployment
Id string - The deployment identifier for the API stage. Can't be updated if
autoDeployis enabled. - Description string
- The description for the API stage.
- Id string
- The identifier.
- Route
Settings interface{} Route settings for the stage.
Search the CloudFormation User Guide for
AWS::ApiGatewayV2::Stagefor more information about the expected schema for this property.- Stage
Variables interface{} A map that defines the stage variables for a
Stage. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.Search the CloudFormation User Guide for
AWS::ApiGatewayV2::Stagefor more information about the expected schema for this property.- interface{}
The collection of tags. Each tag element is associated with a given resource.
Search the CloudFormation User Guide for
AWS::ApiGatewayV2::Stagefor more information about the expected schema for this property.
- access
Log StageSettings Access Log Settings - Settings for logging access in this stage.
- auto
Deploy Boolean - Specifies whether updates to an API automatically trigger a new deployment. The default value is
false. - client
Certificate StringId - The identifier of a client certificate for a
Stage. Supported only for WebSocket APIs. - default
Route StageSettings Route Settings - The default route settings for the stage.
- deployment
Id String - The deployment identifier for the API stage. Can't be updated if
autoDeployis enabled. - description String
- The description for the API stage.
- id String
- The identifier.
- route
Settings Object Route settings for the stage.
Search the CloudFormation User Guide for
AWS::ApiGatewayV2::Stagefor more information about the expected schema for this property.- stage
Variables Object A map that defines the stage variables for a
Stage. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.Search the CloudFormation User Guide for
AWS::ApiGatewayV2::Stagefor more information about the expected schema for this property.- Object
The collection of tags. Each tag element is associated with a given resource.
Search the CloudFormation User Guide for
AWS::ApiGatewayV2::Stagefor more information about the expected schema for this property.
- access
Log StageSettings Access Log Settings - Settings for logging access in this stage.
- auto
Deploy boolean - Specifies whether updates to an API automatically trigger a new deployment. The default value is
false. - client
Certificate stringId - The identifier of a client certificate for a
Stage. Supported only for WebSocket APIs. - default
Route StageSettings Route Settings - The default route settings for the stage.
- deployment
Id string - The deployment identifier for the API stage. Can't be updated if
autoDeployis enabled. - description string
- The description for the API stage.
- id string
- The identifier.
- route
Settings any Route settings for the stage.
Search the CloudFormation User Guide for
AWS::ApiGatewayV2::Stagefor more information about the expected schema for this property.- stage
Variables any A map that defines the stage variables for a
Stage. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.Search the CloudFormation User Guide for
AWS::ApiGatewayV2::Stagefor more information about the expected schema for this property.- any
The collection of tags. Each tag element is associated with a given resource.
Search the CloudFormation User Guide for
AWS::ApiGatewayV2::Stagefor more information about the expected schema for this property.
- access_
log_ Stagesettings Access Log Settings - Settings for logging access in this stage.
- auto_
deploy bool - Specifies whether updates to an API automatically trigger a new deployment. The default value is
false. - client_
certificate_ strid - The identifier of a client certificate for a
Stage. Supported only for WebSocket APIs. - default_
route_ Stagesettings Route Settings - The default route settings for the stage.
- deployment_
id str - The deployment identifier for the API stage. Can't be updated if
autoDeployis enabled. - description str
- The description for the API stage.
- id str
- The identifier.
- route_
settings Any Route settings for the stage.
Search the CloudFormation User Guide for
AWS::ApiGatewayV2::Stagefor more information about the expected schema for this property.- stage_
variables Any A map that defines the stage variables for a
Stage. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.Search the CloudFormation User Guide for
AWS::ApiGatewayV2::Stagefor more information about the expected schema for this property.- Any
The collection of tags. Each tag element is associated with a given resource.
Search the CloudFormation User Guide for
AWS::ApiGatewayV2::Stagefor more information about the expected schema for this property.
- access
Log Property MapSettings - Settings for logging access in this stage.
- auto
Deploy Boolean - Specifies whether updates to an API automatically trigger a new deployment. The default value is
false. - client
Certificate StringId - The identifier of a client certificate for a
Stage. Supported only for WebSocket APIs. - default
Route Property MapSettings - The default route settings for the stage.
- deployment
Id String - The deployment identifier for the API stage. Can't be updated if
autoDeployis enabled. - description String
- The description for the API stage.
- id String
- The identifier.
- route
Settings Any Route settings for the stage.
Search the CloudFormation User Guide for
AWS::ApiGatewayV2::Stagefor more information about the expected schema for this property.- stage
Variables Any A map that defines the stage variables for a
Stage. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.Search the CloudFormation User Guide for
AWS::ApiGatewayV2::Stagefor more information about the expected schema for this property.- Any
The collection of tags. Each tag element is associated with a given resource.
Search the CloudFormation User Guide for
AWS::ApiGatewayV2::Stagefor more information about the expected schema for this property.
Supporting Types
StageAccessLogSettings
- Destination
Arn string - The ARN of the CloudWatch Logs log group to receive access logs. This parameter is required to enable access logging.
- Format string
- A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId. This parameter is required to enable access logging.
- Destination
Arn string - The ARN of the CloudWatch Logs log group to receive access logs. This parameter is required to enable access logging.
- Format string
- A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId. This parameter is required to enable access logging.
- destination
Arn String - The ARN of the CloudWatch Logs log group to receive access logs. This parameter is required to enable access logging.
- format String
- A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId. This parameter is required to enable access logging.
- destination
Arn string - The ARN of the CloudWatch Logs log group to receive access logs. This parameter is required to enable access logging.
- format string
- A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId. This parameter is required to enable access logging.
- destination_
arn str - The ARN of the CloudWatch Logs log group to receive access logs. This parameter is required to enable access logging.
- format str
- A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId. This parameter is required to enable access logging.
- destination
Arn String - The ARN of the CloudWatch Logs log group to receive access logs. This parameter is required to enable access logging.
- format String
- A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId. This parameter is required to enable access logging.
StageRouteSettings
- Data
Trace boolEnabled - Specifies whether (
true) or not (false) data trace logging is enabled for this route. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs. - Detailed
Metrics boolEnabled - Specifies whether detailed metrics are enabled.
- Logging
Level string - Specifies the logging level for this route:
INFO,ERROR, orOFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs. - Throttling
Burst intLimit - Specifies the throttling burst limit.
- Throttling
Rate doubleLimit - Specifies the throttling rate limit.
- Data
Trace boolEnabled - Specifies whether (
true) or not (false) data trace logging is enabled for this route. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs. - Detailed
Metrics boolEnabled - Specifies whether detailed metrics are enabled.
- Logging
Level string - Specifies the logging level for this route:
INFO,ERROR, orOFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs. - Throttling
Burst intLimit - Specifies the throttling burst limit.
- Throttling
Rate float64Limit - Specifies the throttling rate limit.
- data
Trace BooleanEnabled - Specifies whether (
true) or not (false) data trace logging is enabled for this route. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs. - detailed
Metrics BooleanEnabled - Specifies whether detailed metrics are enabled.
- logging
Level String - Specifies the logging level for this route:
INFO,ERROR, orOFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs. - throttling
Burst IntegerLimit - Specifies the throttling burst limit.
- throttling
Rate DoubleLimit - Specifies the throttling rate limit.
- data
Trace booleanEnabled - Specifies whether (
true) or not (false) data trace logging is enabled for this route. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs. - detailed
Metrics booleanEnabled - Specifies whether detailed metrics are enabled.
- logging
Level string - Specifies the logging level for this route:
INFO,ERROR, orOFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs. - throttling
Burst numberLimit - Specifies the throttling burst limit.
- throttling
Rate numberLimit - Specifies the throttling rate limit.
- data_
trace_ boolenabled - Specifies whether (
true) or not (false) data trace logging is enabled for this route. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs. - detailed_
metrics_ boolenabled - Specifies whether detailed metrics are enabled.
- logging_
level str - Specifies the logging level for this route:
INFO,ERROR, orOFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs. - throttling_
burst_ intlimit - Specifies the throttling burst limit.
- throttling_
rate_ floatlimit - Specifies the throttling rate limit.
- data
Trace BooleanEnabled - Specifies whether (
true) or not (false) data trace logging is enabled for this route. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs. - detailed
Metrics BooleanEnabled - Specifies whether detailed metrics are enabled.
- logging
Level String - Specifies the logging level for this route:
INFO,ERROR, orOFF. This property affects the log entries pushed to Amazon CloudWatch Logs. Supported only for WebSocket APIs. - throttling
Burst NumberLimit - Specifies the throttling burst limit.
- throttling
Rate NumberLimit - Specifies the throttling rate limit.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, May 4, 2026 by Pulumi
