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.

UpdateAppInput

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

type UpdateAppInput struct { AppId *string `type:"string" required:"true"` AppSource *Source `type:"structure"` Attributes map[string]*string `type:"map"` DataSources []*DataSource `type:"list"` Description *string `type:"string"` Domains []*string `type:"list"` EnableSsl *bool `type:"boolean"` Environment []*EnvironmentVariable `type:"list"` Name *string `type:"string"` SslConfiguration *SslConfiguration `type:"structure"` Type *string `type:"string" enum:"AppType"` }

AppId

Type: *string

The app ID.

AppId is a required field

AppSource

Contains the information required to retrieve an app or cookbook from a repository. For more information, see Creating Apps (https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html) or Custom Recipes and Cookbooks (https://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook.html).

Attributes

Type: map[string]*string

One or more user-defined key/value pairs to be added to the stack attributes.

DataSources

Describes an app's data source.

Description

Type: *string

A description of the app.

Domains

Type: []*string

The app's virtual host settings, with multiple domains separated by commas. For example: 'www.example.com, example.com'

EnableSsl

Type: *bool

Whether SSL is enabled for the app.

Environment

Represents an app's environment variable.

Name

Type: *string

The app name.

SslConfiguration

Describes an app's SSL configuration.

Type

Type: *string

The app type.

Method

GoString

func (s UpdateAppInput) GoString() string

GoString returns the string representation

SetAppId

func (s *UpdateAppInput) SetAppId(v string) *UpdateAppInput

SetAppId sets the AppId field's value.

SetAppSource

func (s *UpdateAppInput) SetAppSource(v *Source) *UpdateAppInput

SetAppSource sets the AppSource field's value.

SetAttributes

func (s *UpdateAppInput) SetAttributes(v map[string]*string) *UpdateAppInput

SetAttributes sets the Attributes field's value.

SetDataSources

func (s *UpdateAppInput) SetDataSources(v []*DataSource) *UpdateAppInput

SetDataSources sets the DataSources field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetDomains

func (s *UpdateAppInput) SetDomains(v []*string) *UpdateAppInput

SetDomains sets the Domains field's value.

SetEnableSsl

func (s *UpdateAppInput) SetEnableSsl(v bool) *UpdateAppInput

SetEnableSsl sets the EnableSsl field's value.

SetEnvironment

func (s *UpdateAppInput) SetEnvironment(v []*EnvironmentVariable) *UpdateAppInput

SetEnvironment sets the Environment field's value.

SetName

func (s *UpdateAppInput) SetName(v string) *UpdateAppInput

SetName sets the Name field's value.

SetSslConfiguration

func (s *UpdateAppInput) SetSslConfiguration(v *SslConfiguration) *UpdateAppInput

SetSslConfiguration sets the SslConfiguration field's value.

SetType

func (s *UpdateAppInput) SetType(v string) *UpdateAppInput

SetType sets the Type field's value.

String

func (s UpdateAppInput) String() string

String returns the string representation

Validate

func (s *UpdateAppInput) Validate() error

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

On this page: