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.

CreatePlatformVersionInput

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

type CreatePlatformVersionInput struct { EnvironmentName *string `min:"4" type:"string"` OptionSettings []*ConfigurationOptionSetting `type:"list"` PlatformDefinitionBundle *S3Location `type:"structure" required:"true"` PlatformName *string `type:"string" required:"true"` PlatformVersion *string `type:"string" required:"true"` }

Request to create a new platform version.

EnvironmentName

Type: *string

The name of the builder environment.

OptionSettings

A specification identifying an individual configuration option along with its current value. For a list of possible option values, go to Option Values (https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options.html) in the AWS Elastic Beanstalk Developer Guide.

PlatformDefinitionBundle

The bucket and key of an item stored in Amazon S3.

PlatformName

Type: *string

The name of your custom platform.

PlatformName is a required field

PlatformVersion

Type: *string

The number, such as 1.0.2, for the new platform version.

PlatformVersion is a required field

Method

GoString

func (s CreatePlatformVersionInput) GoString() string

GoString returns the string representation

SetEnvironmentName

func (s *CreatePlatformVersionInput) SetEnvironmentName(v string) *CreatePlatformVersionInput

SetEnvironmentName sets the EnvironmentName field's value.

SetOptionSettings

func (s *CreatePlatformVersionInput) SetOptionSettings(v []*ConfigurationOptionSetting) *CreatePlatformVersionInput

SetOptionSettings sets the OptionSettings field's value.

SetPlatformDefinitionBundle

func (s *CreatePlatformVersionInput) SetPlatformDefinitionBundle(v *S3Location) *CreatePlatformVersionInput

SetPlatformDefinitionBundle sets the PlatformDefinitionBundle field's value.

SetPlatformName

func (s *CreatePlatformVersionInput) SetPlatformName(v string) *CreatePlatformVersionInput

SetPlatformName sets the PlatformName field's value.

SetPlatformVersion

func (s *CreatePlatformVersionInput) SetPlatformVersion(v string) *CreatePlatformVersionInput

SetPlatformVersion sets the PlatformVersion field's value.

String

func (s CreatePlatformVersionInput) String() string

String returns the string representation

Validate

func (s *CreatePlatformVersionInput) Validate() error

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

On this page: