StageState constructor

const StageState({
  1. Input<StageAccessLogSettings?>? accessLogSettings,
  2. Input<String?>? apiId,
  3. Input<String?>? arn,
  4. Input<bool?>? autoDeploy,
  5. Input<String?>? clientCertificateId,
  6. Input<StageDefaultRouteSettings?>? defaultRouteSettings,
  7. Input<String?>? deploymentId,
  8. Input<String?>? description,
  9. Input<String?>? executionArn,
  10. Input<String?>? invokeUrl,
  11. Input<String?>? name,
  12. Input<String?>? region,
  13. Input<List<StageRouteSetting>?>? routeSettings,
  14. Input<Map<String, String>?>? stageVariables,
  15. Input<Map<String, String>?>? tags,
  16. Input<Map<String, String>?>? tagsAll,
})

Creates a new StageState. accessLogSettings Settings for logging access in this stage. Use the aws.apigateway.Account resource to configure permissions for CloudWatch Logging. apiId API identifier. arn ARN of the stage. autoDeploy Whether updates to an API automatically trigger a new deployment. Defaults to false. Applicable for HTTP APIs. clientCertificateId Identifier of a client certificate for the stage. Use the aws.apigateway.ClientCertificate resource to configure a client certificate. Supported only for WebSocket APIs. defaultRouteSettings Default route settings for the stage. deploymentId Deployment identifier of the stage. Use the aws.apigatewayv2.Deployment resource to configure a deployment. description Description for the stage. Must be less than or equal to 1024 characters in length. executionArn ARN prefix to be used in an aws.lambda.Permission's sourceArn attribute. For WebSocket APIs this attribute can additionally be used in an aws.iam.Policy to authorize access to the @connections API. See the Amazon API Gateway Developer Guide for details. invokeUrl URL to invoke the API pointing to the stage, e.g., wss://z4675bid1j.execute-api.eu-west-2.amazonaws.com/example-stage, or https://z4675bid1j.execute-api.eu-west-2.amazonaws.com/ name Name of the stage. Must be between 1 and 128 characters in length. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. routeSettings Route settings for the stage. stageVariables Map that defines the stage variables for the stage. tags Map of tags to assign to the stage. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level. tagsAll Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

Implementation

const StageState({
  this.accessLogSettings,
  this.apiId,
  this.arn,
  this.autoDeploy,
  this.clientCertificateId,
  this.defaultRouteSettings,
  this.deploymentId,
  this.description,
  this.executionArn,
  this.invokeUrl,
  this.name,
  this.region,
  this.routeSettings,
  this.stageVariables,
  this.tags,
  this.tagsAll,
});