GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::GreengrassV2::CreateComponentVersion(3) User Contributed Perl Documentation Paws::GreengrassV2::CreateComponentVersion(3)

Paws::GreengrassV2::CreateComponentVersion - Arguments for method CreateComponentVersion on Paws::GreengrassV2

This class represents the parameters used for calling the method CreateComponentVersion on the AWS IoT Greengrass V2 service. Use the attributes of this class as arguments to method CreateComponentVersion.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateComponentVersion.

    my $greengrass = Paws->service('GreengrassV2');
    my $CreateComponentVersionResponse = $greengrass->CreateComponentVersion(
      InlineRecipe   => 'BlobRecipeBlob',    # OPTIONAL
      LambdaFunction => {
        LambdaArn             => 'MyLambdaFunctionARNWithVersionNumber',
        ComponentDependencies => {
          'MyNonEmptyString' => {
            DependencyType     => 'HARD',    # values: HARD, SOFT; OPTIONAL
            VersionRequirement => 'MyNonEmptyString',    # min: 1
          },    # key: min: 1
        },    # OPTIONAL
        ComponentLambdaParameters => {
          EnvironmentVariables => {
            'MyNonEmptyString' => 'MyString',    # key: min: 1
          },    # OPTIONAL
          EventSources => [
            {
              Topic => 'MyTopicString',
              Type  => 'PUB_SUB',         # values: PUB_SUB, IOT_CORE
            },
            ...
          ],    # OPTIONAL
          ExecArgs                 => [ 'MyLambdaExecArg', ... ],    # OPTIONAL
          InputPayloadEncodingType => 'json',   # values: json, binary; OPTIONAL
          LinuxProcessParams       => {
            ContainerParams => {
              Devices => [
                {
                  Path          => 'MyFileSystemPath',
                  AddGroupOwner => 1,                 # OPTIONAL
                  Permission    => 'ro',              # values: ro, rw; OPTIONAL
                },
                ...
              ],    # OPTIONAL
              MemorySizeInKB => 1,    # OPTIONAL
              MountROSysfs   => 1,    # OPTIONAL
              Volumes        => [
                {
                  DestinationPath => 'MyFileSystemPath',
                  SourcePath      => 'MyFileSystemPath',
                  AddGroupOwner   => 1,                    # OPTIONAL
                  Permission      => 'ro',    # values: ro, rw; OPTIONAL
                },
                ...
              ],    # OPTIONAL
            },    # OPTIONAL
            IsolationMode => 'GreengrassContainer'
            ,     # values: GreengrassContainer, NoContainer; OPTIONAL
          },    # OPTIONAL
          MaxIdleTimeInSeconds   => 1,    # OPTIONAL
          MaxInstancesCount      => 1,    # OPTIONAL
          MaxQueueSize           => 1,    # OPTIONAL
          Pinned                 => 1,    # OPTIONAL
          StatusTimeoutInSeconds => 1,    # OPTIONAL
          TimeoutInSeconds       => 1,    # OPTIONAL
        },    # OPTIONAL
        ComponentName => 'MyComponentNameString',   # min: 1, max: 128; OPTIONAL
        ComponentPlatforms => [
          {
            Attributes => {
              'MyNonEmptyString' =>
                'MyNonEmptyString',    # key: min: 1, value: min: 1
            },    # OPTIONAL
            Name => 'MyNonEmptyString',    # min: 1
          },
          ...
        ],    # OPTIONAL
        ComponentVersion =>
          'MyComponentVersionString',    # min: 1, max: 64; OPTIONAL
      },    # OPTIONAL
      Tags => {
        'MyTagKey' => 'MyTagValue',    # key: min: 1, max: 128, value: max: 256
      },    # OPTIONAL
    );
    # Results:
    my $Arn               = $CreateComponentVersionResponse->Arn;
    my $ComponentName     = $CreateComponentVersionResponse->ComponentName;
    my $ComponentVersion  = $CreateComponentVersionResponse->ComponentVersion;
    my $CreationTimestamp = $CreateComponentVersionResponse->CreationTimestamp;
    my $Status            = $CreateComponentVersionResponse->Status;
    # Returns a L<Paws::GreengrassV2::CreateComponentVersionResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/greengrass/CreateComponentVersion>

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".

The parameters to create a component from a Lambda function.

You must specify either "inlineRecipe" or "lambdaFunction".

A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources (https://docs.aws.amazon.com/greengrass/v2/developerguide/tag-resources.html) in the AWS IoT Greengrass V2 Developer Guide.

This class forms part of Paws, documenting arguments for method CreateComponentVersion in Paws::GreengrassV2

The source code is located here: <https://github.com/pplu/aws-sdk-perl>

Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.