AWS Native

Pulumi Official
Package maintained by Pulumi
v0.16.1 published on Saturday, Apr 30, 2022 by Pulumi

getDeployment

Resource Type definition for AWS::ApiGateway::Deployment

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:

DeploymentId string

Primary Id for this resource

RestApiId string

The ID of the RestApi resource to deploy.

DeploymentId string

Primary Id for this resource

RestApiId string

The ID of the RestApi resource to deploy.

deploymentId String

Primary Id for this resource

restApiId String

The ID of the RestApi resource to deploy.

deploymentId string

Primary Id for this resource

restApiId string

The ID of the RestApi resource to deploy.

deployment_id str

Primary Id for this resource

rest_api_id str

The ID of the RestApi resource to deploy.

deploymentId String

Primary Id for this resource

restApiId String

The ID of the RestApi resource to deploy.

getDeployment Result

The following output properties are available:

DeploymentId string

Primary Id for this resource

Description string

A description of the purpose of the API Gateway deployment.

DeploymentId string

Primary Id for this resource

Description string

A description of the purpose of the API Gateway deployment.

deploymentId String

Primary Id for this resource

description String

A description of the purpose of the API Gateway deployment.

deploymentId string

Primary Id for this resource

description string

A description of the purpose of the API Gateway deployment.

deployment_id str

Primary Id for this resource

description str

A description of the purpose of the API Gateway deployment.

deploymentId String

Primary Id for this resource

description String

A description of the purpose of the API Gateway deployment.

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0