@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
98 lines (97 loc) • 4.7 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* Resource for Greengrass component version.
*/
export declare class ComponentVersion extends pulumi.CustomResource {
/**
* Get an existing ComponentVersion resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ComponentVersion;
/**
* Returns true if the given object is an instance of ComponentVersion. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is ComponentVersion;
/**
* The ARN of the component version.
*/
readonly arn: pulumi.Output<string>;
/**
* The name of the component.
*/
readonly componentName: pulumi.Output<string>;
/**
* The version of the component.
*/
readonly componentVersion: pulumi.Output<string>;
/**
* The recipe to use to create the component. The recipe defines the component's metadata, parameters, dependencies, lifecycle, artifacts, and platform compatibility.
*
* You must specify either `InlineRecipe` or `LambdaFunction` .
*/
readonly inlineRecipe: pulumi.Output<string | undefined>;
/**
* The parameters to create a component from a Lambda function.
*
* You must specify either `InlineRecipe` or `LambdaFunction` .
*/
readonly lambdaFunction: pulumi.Output<outputs.greengrassv2.ComponentVersionLambdaFunctionRecipeSource | undefined>;
/**
* Application-specific metadata to attach to the component version. 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](https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html) in the *AWS IoT Greengrass V2 Developer Guide* .
*
* This `Json` property type is processed as a map of key-value pairs. It uses the following format, which is different from most `Tags` implementations in AWS CloudFormation templates.
*
* ```json
* "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
* }
* ```
*/
readonly tags: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* Create a ComponentVersion resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: ComponentVersionArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a ComponentVersion resource.
*/
export interface ComponentVersionArgs {
/**
* The recipe to use to create the component. The recipe defines the component's metadata, parameters, dependencies, lifecycle, artifacts, and platform compatibility.
*
* You must specify either `InlineRecipe` or `LambdaFunction` .
*/
inlineRecipe?: pulumi.Input<string>;
/**
* The parameters to create a component from a Lambda function.
*
* You must specify either `InlineRecipe` or `LambdaFunction` .
*/
lambdaFunction?: pulumi.Input<inputs.greengrassv2.ComponentVersionLambdaFunctionRecipeSourceArgs>;
/**
* Application-specific metadata to attach to the component version. 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](https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html) in the *AWS IoT Greengrass V2 Developer Guide* .
*
* This `Json` property type is processed as a map of key-value pairs. It uses the following format, which is different from most `Tags` implementations in AWS CloudFormation templates.
*
* ```json
* "Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
* }
* ```
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
}