AWS Native is in preview. AWS Classic is fully supported.
aws-native.apigateway.getDeployment
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
The AWS::ApiGateway::Deployment
resource deploys an API Gateway RestApi
resource to a stage so that clients can call the API over the internet. The stage acts as an environment.
Using getDeployment
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 getDeployment(args: GetDeploymentArgs, opts?: InvokeOptions): Promise<GetDeploymentResult>
function getDeploymentOutput(args: GetDeploymentOutputArgs, opts?: InvokeOptions): Output<GetDeploymentResult>
def get_deployment(deployment_id: Optional[str] = None,
rest_api_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDeploymentResult
def get_deployment_output(deployment_id: Optional[pulumi.Input[str]] = None,
rest_api_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDeploymentResult]
func LookupDeployment(ctx *Context, args *LookupDeploymentArgs, opts ...InvokeOption) (*LookupDeploymentResult, error)
func LookupDeploymentOutput(ctx *Context, args *LookupDeploymentOutputArgs, opts ...InvokeOption) LookupDeploymentResultOutput
> Note: This function is named LookupDeployment
in the Go SDK.
public static class GetDeployment
{
public static Task<GetDeploymentResult> InvokeAsync(GetDeploymentArgs args, InvokeOptions? opts = null)
public static Output<GetDeploymentResult> Invoke(GetDeploymentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDeploymentResult> getDeployment(GetDeploymentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:apigateway:getDeployment
arguments:
# arguments dictionary
The following arguments are supported:
- Deployment
Id string - The ID for the deployment. For example:
abc123
. - Rest
Api stringId - The string identifier of the associated RestApi.
- Deployment
Id string - The ID for the deployment. For example:
abc123
. - Rest
Api stringId - The string identifier of the associated RestApi.
- deployment
Id String - The ID for the deployment. For example:
abc123
. - rest
Api StringId - The string identifier of the associated RestApi.
- deployment
Id string - The ID for the deployment. For example:
abc123
. - rest
Api stringId - The string identifier of the associated RestApi.
- deployment_
id str - The ID for the deployment. For example:
abc123
. - rest_
api_ strid - The string identifier of the associated RestApi.
- deployment
Id String - The ID for the deployment. For example:
abc123
. - rest
Api StringId - The string identifier of the associated RestApi.
getDeployment Result
The following output properties are available:
- Deployment
Id string - The ID for the deployment. For example:
abc123
. - Description string
- The description for the Deployment resource to create.
- Deployment
Id string - The ID for the deployment. For example:
abc123
. - Description string
- The description for the Deployment resource to create.
- deployment
Id String - The ID for the deployment. For example:
abc123
. - description String
- The description for the Deployment resource to create.
- deployment
Id string - The ID for the deployment. For example:
abc123
. - description string
- The description for the Deployment resource to create.
- deployment_
id str - The ID for the deployment. For example:
abc123
. - description str
- The description for the Deployment resource to create.
- deployment
Id String - The ID for the deployment. For example:
abc123
. - description String
- The description for the Deployment resource to create.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.