We recommend new projects start with resources from the AWS provider.
aws-native.greengrassv2.getDeployment
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource for Greengrass V2 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,
                   opts: Optional[InvokeOptions] = None) -> GetDeploymentResult
def get_deployment_output(deployment_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)
public static Output<GetDeploymentResult> getDeployment(GetDeploymentArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:greengrassv2:getDeployment
  arguments:
    # arguments dictionaryThe following arguments are supported:
- DeploymentId string
- The ID of the deployment.
- DeploymentId string
- The ID of the deployment.
- deploymentId String
- The ID of the deployment.
- deploymentId string
- The ID of the deployment.
- deployment_id str
- The ID of the deployment.
- deploymentId String
- The ID of the deployment.
getDeployment Result
The following output properties are available:
- DeploymentId string
- The ID of the deployment.
- Dictionary<string, string>
- Application-specific metadata to attach to the deployment. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tag your AWS IoT Greengrass Version 2 resources in the AWS IoT Greengrass V2 Developer Guide . - This - Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from most- Tagsimplementations in AWS CloudFormation templates.- "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- DeploymentId string
- The ID of the deployment.
- map[string]string
- Application-specific metadata to attach to the deployment. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tag your AWS IoT Greengrass Version 2 resources in the AWS IoT Greengrass V2 Developer Guide . - This - Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from most- Tagsimplementations in AWS CloudFormation templates.- "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- deploymentId String
- The ID of the deployment.
- Map<String,String>
- Application-specific metadata to attach to the deployment. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tag your AWS IoT Greengrass Version 2 resources in the AWS IoT Greengrass V2 Developer Guide . - This - Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from most- Tagsimplementations in AWS CloudFormation templates.- "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- deploymentId string
- The ID of the deployment.
- {[key: string]: string}
- Application-specific metadata to attach to the deployment. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tag your AWS IoT Greengrass Version 2 resources in the AWS IoT Greengrass V2 Developer Guide . - This - Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from most- Tagsimplementations in AWS CloudFormation templates.- "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- deployment_id str
- The ID of the deployment.
- Mapping[str, str]
- Application-specific metadata to attach to the deployment. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tag your AWS IoT Greengrass Version 2 resources in the AWS IoT Greengrass V2 Developer Guide . - This - Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from most- Tagsimplementations in AWS CloudFormation templates.- "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
- deploymentId String
- The ID of the deployment.
- Map<String>
- Application-specific metadata to attach to the deployment. You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tag your AWS IoT Greengrass Version 2 resources in the AWS IoT Greengrass V2 Developer Guide . - This - Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from most- Tagsimplementations in AWS CloudFormation templates.- "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.