NAME

Paws::IoTThingsGraph::CreateSystemInstance - Arguments for method CreateSystemInstance on Paws::IoTThingsGraph

DESCRIPTION

This class represents the parameters used for calling the method CreateSystemInstance on the AWS IoT Things Graph service. Use the attributes of this class as arguments to method CreateSystemInstance.

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

SYNOPSIS

my $iotthingsgraph = Paws->service('IoTThingsGraph');
my $CreateSystemInstanceResponse = $iotthingsgraph->CreateSystemInstance(
  Definition => {
    Language => 'GRAPHQL',             # values: GRAPHQL
    Text     => 'MyDefinitionText',    # max: 1048576

  },
  Target               => 'GREENGRASS',
  FlowActionsRoleArn   => 'MyRoleArn',      # OPTIONAL
  GreengrassGroupName  => 'MyGroupName',    # OPTIONAL
  MetricsConfiguration => {
    CloudMetricEnabled => 1,                # OPTIONAL
    MetricRuleRoleArn  => 'MyRoleArn',      # min: 20, max: 2048
  },    # OPTIONAL
  S3BucketName => 'MyS3BucketName',    # OPTIONAL
  Tags         => [
    {
      Key   => 'MyTagKey',      # min: 1, max: 128
      Value => 'MyTagValue',    # min: 1, max: 256

    },
    ...
  ],    # OPTIONAL
);

# Results:
my $Summary = $CreateSystemInstanceResponse->Summary;

# Returns a L<Paws::IoTThingsGraph::CreateSystemInstanceResponse> 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/iotthingsgraph/CreateSystemInstance

ATTRIBUTES

REQUIRED Definition => Paws::IoTThingsGraph::DefinitionDocument

FlowActionsRoleArn => Str

The ARN of the IAM role that AWS IoT Things Graph will assume when it executes the flow. This role must have read and write access to AWS Lambda and AWS IoT and any other AWS services that the flow uses when it executes. This value is required if the value of the target parameter is CLOUD.

GreengrassGroupName => Str

The name of the Greengrass group where the system instance will be deployed. This value is required if the value of the target parameter is GREENGRASS.

MetricsConfiguration => Paws::IoTThingsGraph::MetricsConfiguration

S3BucketName => Str

The name of the Amazon Simple Storage Service bucket that will be used to store and deploy the system instance's resource file. This value is required if the value of the target parameter is GREENGRASS.

Tags => ArrayRef[Paws::IoTThingsGraph::Tag]

Metadata, consisting of key-value pairs, that can be used to categorize your system instances.

REQUIRED Target => Str

The target type of the deployment. Valid values are GREENGRASS and CLOUD.

Valid values are: "GREENGRASS", "CLOUD"

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateSystemInstance in Paws::IoTThingsGraph

BUGS and CONTRIBUTIONS

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