1. Packages
  2. AWS Native
  3. API Docs
  4. greengrassv2
  5. ComponentVersion

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.greengrassv2.ComponentVersion

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

    Resource for Greengrass component version.

    Create ComponentVersion Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ComponentVersion(name: string, args?: ComponentVersionArgs, opts?: CustomResourceOptions);
    @overload
    def ComponentVersion(resource_name: str,
                         args: Optional[ComponentVersionArgs] = None,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def ComponentVersion(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         inline_recipe: Optional[str] = None,
                         lambda_function: Optional[ComponentVersionLambdaFunctionRecipeSourceArgs] = None,
                         tags: Optional[Mapping[str, str]] = None)
    func NewComponentVersion(ctx *Context, name string, args *ComponentVersionArgs, opts ...ResourceOption) (*ComponentVersion, error)
    public ComponentVersion(string name, ComponentVersionArgs? args = null, CustomResourceOptions? opts = null)
    public ComponentVersion(String name, ComponentVersionArgs args)
    public ComponentVersion(String name, ComponentVersionArgs args, CustomResourceOptions options)
    
    type: aws-native:greengrassv2:ComponentVersion
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ComponentVersionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ComponentVersionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ComponentVersionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ComponentVersionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ComponentVersionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const componentVersionResource = new aws_native.greengrassv2.ComponentVersion("componentVersionResource", {
        inlineRecipe: "string",
        lambdaFunction: {
            componentDependencies: {
                string: {
                    dependencyType: aws_native.greengrassv2.ComponentVersionComponentDependencyRequirementDependencyType.Soft,
                    versionRequirement: "string",
                },
            },
            componentLambdaParameters: {
                environmentVariables: {
                    string: "string",
                },
                eventSources: [{
                    topic: "string",
                    type: aws_native.greengrassv2.ComponentVersionLambdaEventSourceType.PubSub,
                }],
                execArgs: ["string"],
                inputPayloadEncodingType: aws_native.greengrassv2.ComponentVersionLambdaExecutionParametersInputPayloadEncodingType.Json,
                linuxProcessParams: {
                    containerParams: {
                        devices: [{
                            addGroupOwner: false,
                            path: "string",
                            permission: aws_native.greengrassv2.ComponentVersionLambdaFilesystemPermission.Ro,
                        }],
                        memorySizeInKb: 0,
                        mountRoSysfs: false,
                        volumes: [{
                            addGroupOwner: false,
                            destinationPath: "string",
                            permission: aws_native.greengrassv2.ComponentVersionLambdaFilesystemPermission.Ro,
                            sourcePath: "string",
                        }],
                    },
                    isolationMode: aws_native.greengrassv2.ComponentVersionLambdaLinuxProcessParamsIsolationMode.GreengrassContainer,
                },
                maxIdleTimeInSeconds: 0,
                maxInstancesCount: 0,
                maxQueueSize: 0,
                pinned: false,
                statusTimeoutInSeconds: 0,
                timeoutInSeconds: 0,
            },
            componentName: "string",
            componentPlatforms: [{
                attributes: {
                    string: "string",
                },
                name: "string",
            }],
            componentVersion: "string",
            lambdaArn: "string",
        },
        tags: {
            string: "string",
        },
    });
    
    Coming soon!
    

    ComponentVersion Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ComponentVersion resource accepts the following input properties:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ComponentVersion resource produces the following output properties:

    Arn string
    ComponentName string
    ComponentVersionValue string
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    ComponentName string
    ComponentVersion string
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    componentName String
    componentVersion String
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    componentName string
    componentVersion string
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    component_name str
    component_version str
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    componentName String
    componentVersion String
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    ComponentVersionComponentDependencyRequirement, ComponentVersionComponentDependencyRequirementArgs

    ComponentVersionComponentDependencyRequirementDependencyType, ComponentVersionComponentDependencyRequirementDependencyTypeArgs

    Soft
    SOFT
    Hard
    HARD
    ComponentVersionComponentDependencyRequirementDependencyTypeSoft
    SOFT
    ComponentVersionComponentDependencyRequirementDependencyTypeHard
    HARD
    Soft
    SOFT
    Hard
    HARD
    Soft
    SOFT
    Hard
    HARD
    SOFT
    SOFT
    HARD
    HARD
    "SOFT"
    SOFT
    "HARD"
    HARD

    ComponentVersionComponentPlatform, ComponentVersionComponentPlatformArgs

    Attributes Dictionary<string, string>
    Name string
    Attributes map[string]string
    Name string
    attributes Map<String,String>
    name String
    attributes {[key: string]: string}
    name string
    attributes Mapping[str, str]
    name str
    attributes Map<String>
    name String

    ComponentVersionLambdaContainerParams, ComponentVersionLambdaContainerParamsArgs

    ComponentVersionLambdaDeviceMount, ComponentVersionLambdaDeviceMountArgs

    ComponentVersionLambdaEventSource, ComponentVersionLambdaEventSourceArgs

    ComponentVersionLambdaEventSourceType, ComponentVersionLambdaEventSourceTypeArgs

    PubSub
    PUB_SUB
    IotCore
    IOT_CORE
    ComponentVersionLambdaEventSourceTypePubSub
    PUB_SUB
    ComponentVersionLambdaEventSourceTypeIotCore
    IOT_CORE
    PubSub
    PUB_SUB
    IotCore
    IOT_CORE
    PubSub
    PUB_SUB
    IotCore
    IOT_CORE
    PUB_SUB
    PUB_SUB
    IOT_CORE
    IOT_CORE
    "PUB_SUB"
    PUB_SUB
    "IOT_CORE"
    IOT_CORE

    ComponentVersionLambdaExecutionParameters, ComponentVersionLambdaExecutionParametersArgs

    ComponentVersionLambdaExecutionParametersInputPayloadEncodingType, ComponentVersionLambdaExecutionParametersInputPayloadEncodingTypeArgs

    Json
    json
    Binary
    binary
    ComponentVersionLambdaExecutionParametersInputPayloadEncodingTypeJson
    json
    ComponentVersionLambdaExecutionParametersInputPayloadEncodingTypeBinary
    binary
    Json
    json
    Binary
    binary
    Json
    json
    Binary
    binary
    JSON
    json
    BINARY
    binary
    "json"
    json
    "binary"
    binary

    ComponentVersionLambdaFilesystemPermission, ComponentVersionLambdaFilesystemPermissionArgs

    Ro
    ro
    Rw
    rw
    ComponentVersionLambdaFilesystemPermissionRo
    ro
    ComponentVersionLambdaFilesystemPermissionRw
    rw
    Ro
    ro
    Rw
    rw
    Ro
    ro
    Rw
    rw
    RO
    ro
    RW
    rw
    "ro"
    ro
    "rw"
    rw

    ComponentVersionLambdaFunctionRecipeSource, ComponentVersionLambdaFunctionRecipeSourceArgs

    ComponentVersionLambdaLinuxProcessParams, ComponentVersionLambdaLinuxProcessParamsArgs

    ComponentVersionLambdaLinuxProcessParamsIsolationMode, ComponentVersionLambdaLinuxProcessParamsIsolationModeArgs

    GreengrassContainer
    GreengrassContainer
    NoContainer
    NoContainer
    ComponentVersionLambdaLinuxProcessParamsIsolationModeGreengrassContainer
    GreengrassContainer
    ComponentVersionLambdaLinuxProcessParamsIsolationModeNoContainer
    NoContainer
    GreengrassContainer
    GreengrassContainer
    NoContainer
    NoContainer
    GreengrassContainer
    GreengrassContainer
    NoContainer
    NoContainer
    GREENGRASS_CONTAINER
    GreengrassContainer
    NO_CONTAINER
    NoContainer
    "GreengrassContainer"
    GreengrassContainer
    "NoContainer"
    NoContainer

    ComponentVersionLambdaVolumeMount, ComponentVersionLambdaVolumeMountArgs

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi