AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ResourceConfiguration

import "github.com/aws/aws-sdk-go/service/iotanalytics"

type ResourceConfiguration struct { ComputeType *string `locationName:"computeType" type:"string" required:"true" enum:"ComputeType"` VolumeSizeInGB *int64 `locationName:"volumeSizeInGB" min:"1" type:"integer" required:"true"` }

The configuration of the resource used to execute the "containerAction".

ComputeType

Type: *string

The type of the compute resource used to execute the "containerAction". Possible values are: ACU_1 (vCPU=4, memory=16GiB) or ACU_2 (vCPU=8, memory=32GiB).

ComputeType is a required field

VolumeSizeInGB

Type: *int64

The size (in GB) of the persistent storage available to the resource instance used to execute the "containerAction" (min: 1, max: 50).

VolumeSizeInGB is a required field

Method

GoString

func (s ResourceConfiguration) GoString() string

GoString returns the string representation

SetComputeType

func (s *ResourceConfiguration) SetComputeType(v string) *ResourceConfiguration

SetComputeType sets the ComputeType field's value.

SetVolumeSizeInGB

func (s *ResourceConfiguration) SetVolumeSizeInGB(v int64) *ResourceConfiguration

SetVolumeSizeInGB sets the VolumeSizeInGB field's value.

String

func (s ResourceConfiguration) String() string

String returns the string representation

Validate

func (s *ResourceConfiguration) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: