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.

CreateConfigurationTemplateInput

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

type CreateConfigurationTemplateInput struct { ApplicationName *string `min:"1" type:"string" required:"true"` Description *string `type:"string"` EnvironmentId *string `type:"string"` OptionSettings []*ConfigurationOptionSetting `type:"list"` PlatformArn *string `type:"string"` SolutionStackName *string `type:"string"` SourceConfiguration *SourceConfiguration `type:"structure"` TemplateName *string `min:"1" type:"string" required:"true"` }

Request to create a configuration template.

ApplicationName

Type: *string

The name of the application to associate with this configuration template. If no application is found with this name, AWS Elastic Beanstalk returns an InvalidParameterValue error.

ApplicationName is a required field

Description

Type: *string

Describes this configuration.

EnvironmentId

Type: *string

The ID of the environment used with this configuration template.

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.

PlatformArn

Type: *string

The ARN of the custom platform.

SolutionStackName

Type: *string

The name of the solution stack used by this configuration. The solution stack specifies the operating system, architecture, and application server for a configuration template. It determines the set of configuration options as well as the possible and default values.

Use ListAvailableSolutionStacks to obtain a list of available solution stacks.

A solution stack name or a source configuration parameter must be specified, otherwise AWS Elastic Beanstalk returns an InvalidParameterValue error.

If a solution stack name is not specified and the source configuration parameter is specified, AWS Elastic Beanstalk uses the same solution stack as the source configuration template.

SourceConfiguration

A specification for an environment configuration

TemplateName

Type: *string

The name of the configuration template.

Constraint: This name must be unique per application.

Default: If a configuration template already exists with this name, AWS Elastic Beanstalk returns an InvalidParameterValue error.

TemplateName is a required field

Method

GoString

func (s CreateConfigurationTemplateInput) GoString() string

GoString returns the string representation

SetApplicationName

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

SetApplicationName sets the ApplicationName field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetEnvironmentId

func (s *CreateConfigurationTemplateInput) SetEnvironmentId(v string) *CreateConfigurationTemplateInput

SetEnvironmentId sets the EnvironmentId field's value.

SetOptionSettings

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

SetOptionSettings sets the OptionSettings field's value.

SetPlatformArn

func (s *CreateConfigurationTemplateInput) SetPlatformArn(v string) *CreateConfigurationTemplateInput

SetPlatformArn sets the PlatformArn field's value.

SetSolutionStackName

func (s *CreateConfigurationTemplateInput) SetSolutionStackName(v string) *CreateConfigurationTemplateInput

SetSolutionStackName sets the SolutionStackName field's value.

SetSourceConfiguration

func (s *CreateConfigurationTemplateInput) SetSourceConfiguration(v *SourceConfiguration) *CreateConfigurationTemplateInput

SetSourceConfiguration sets the SourceConfiguration field's value.

SetTemplateName

func (s *CreateConfigurationTemplateInput) SetTemplateName(v string) *CreateConfigurationTemplateInput

SetTemplateName sets the TemplateName field's value.

String

func (s CreateConfigurationTemplateInput) String() string

String returns the string representation

Validate

func (s *CreateConfigurationTemplateInput) Validate() error

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

On this page: