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.

CreateApplicationInput

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

type CreateApplicationInput struct { ApplicationName *string `min:"1" type:"string" required:"true"` Description *string `type:"string"` ResourceLifecycleConfig *ApplicationResourceLifecycleConfig `type:"structure"` }

Request to create an application.

ApplicationName

Type: *string

The name of the application.

Constraint: This name must be unique within your account. If the specified name already exists, the action returns an InvalidParameterValue error.

ApplicationName is a required field

Description

Type: *string

Describes the application.

ResourceLifecycleConfig

The resource lifecycle configuration for an application. Defines lifecycle settings for resources that belong to the application, and the service role that Elastic Beanstalk assumes in order to apply lifecycle settings. The version lifecycle configuration defines lifecycle settings for application versions.

Method

GoString

func (s CreateApplicationInput) GoString() string

GoString returns the string representation

SetApplicationName

func (s *CreateApplicationInput) SetApplicationName(v string) *CreateApplicationInput

SetApplicationName sets the ApplicationName field's value.

SetDescription

func (s *CreateApplicationInput) SetDescription(v string) *CreateApplicationInput

SetDescription sets the Description field's value.

SetResourceLifecycleConfig

func (s *CreateApplicationInput) SetResourceLifecycleConfig(v *ApplicationResourceLifecycleConfig) *CreateApplicationInput

SetResourceLifecycleConfig sets the ResourceLifecycleConfig field's value.

String

func (s CreateApplicationInput) String() string

String returns the string representation

Validate

func (s *CreateApplicationInput) Validate() error

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

On this page: