aws-native.apigateway.getDeployment
Explore with Pulumi AI
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:
- Deployment
Id string Primary Id for this resource
- Rest
Api stringId The ID of the RestApi resource to deploy.
- Deployment
Id string Primary Id for this resource
- Rest
Api stringId The ID of the RestApi resource to deploy.
- deployment
Id String Primary Id for this resource
- rest
Api StringId The ID of the RestApi resource to deploy.
- deployment
Id string Primary Id for this resource
- rest
Api stringId The ID of the RestApi resource to deploy.
- deployment_
id str Primary Id for this resource
- rest_
api_ strid The ID of the RestApi resource to deploy.
- deployment
Id String Primary Id for this resource
- rest
Api StringId The ID of the RestApi resource to deploy.
getDeployment Result
The following output properties are available:
- Deployment
Id string Primary Id for this resource
- Description string
A description of the purpose of the API Gateway deployment.
- Deployment
Id string Primary Id for this resource
- Description string
A description of the purpose of the API Gateway deployment.
- deployment
Id String Primary Id for this resource
- description String
A description of the purpose of the API Gateway deployment.
- deployment
Id 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.
- deployment
Id String Primary Id for this resource
- description String
A description of the purpose of the API Gateway deployment.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0