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.

Blueprint

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

type Blueprint struct { BlueprintId *string `locationName:"blueprintId" type:"string"` Description *string `locationName:"description" type:"string"` Group *string `locationName:"group" type:"string"` IsActive *bool `locationName:"isActive" type:"boolean"` LicenseUrl *string `locationName:"licenseUrl" type:"string"` MinPower *int64 `locationName:"minPower" type:"integer"` Name *string `locationName:"name" type:"string"` Platform *string `locationName:"platform" type:"string" enum:"InstancePlatform"` ProductUrl *string `locationName:"productUrl" type:"string"` Type *string `locationName:"type" type:"string" enum:"BlueprintType"` Version *string `locationName:"version" type:"string"` VersionCode *string `locationName:"versionCode" type:"string"` }

Describes a blueprint (a virtual private server image).

BlueprintId

Type: *string

The ID for the virtual private server image (e.g., app_wordpress_4_4 or app_lamp_7_0).

Description

Type: *string

The description of the blueprint.

Group

Type: *string

The group name of the blueprint (e.g., amazon-linux).

IsActive

Type: *bool

A Boolean value indicating whether the blueprint is active. Inactive blueprints are listed to support customers with existing instances but are not necessarily available for launch of new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.

LicenseUrl

Type: *string

The end-user license agreement URL for the image or blueprint.

MinPower

Type: *int64

The minimum bundle power required to run this blueprint. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500. 0 indicates that the blueprint runs on all instance sizes.

Name

Type: *string

The friendly name of the blueprint (e.g., Amazon Linux).

Platform

Type: *string

The operating system platform (either Linux/Unix-based or Windows Server-based) of the blueprint.

ProductUrl

Type: *string

The product URL to learn more about the image or blueprint.

Type

Type: *string

The type of the blueprint (e.g., os or app).

Version

Type: *string

The version number of the operating system, application, or stack (e.g., 2016.03.0).

VersionCode

Type: *string

The version code.

Method

GoString

func (s Blueprint) GoString() string

GoString returns the string representation

SetBlueprintId

func (s *Blueprint) SetBlueprintId(v string) *Blueprint

SetBlueprintId sets the BlueprintId field's value.

SetDescription

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

SetDescription sets the Description field's value.

SetGroup

func (s *Blueprint) SetGroup(v string) *Blueprint

SetGroup sets the Group field's value.

SetIsActive

func (s *Blueprint) SetIsActive(v bool) *Blueprint

SetIsActive sets the IsActive field's value.

SetLicenseUrl

func (s *Blueprint) SetLicenseUrl(v string) *Blueprint

SetLicenseUrl sets the LicenseUrl field's value.

SetMinPower

func (s *Blueprint) SetMinPower(v int64) *Blueprint

SetMinPower sets the MinPower field's value.

SetName

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

SetName sets the Name field's value.

SetPlatform

func (s *Blueprint) SetPlatform(v string) *Blueprint

SetPlatform sets the Platform field's value.

SetProductUrl

func (s *Blueprint) SetProductUrl(v string) *Blueprint

SetProductUrl sets the ProductUrl field's value.

SetType

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

SetType sets the Type field's value.

SetVersion

func (s *Blueprint) SetVersion(v string) *Blueprint

SetVersion sets the Version field's value.

SetVersionCode

func (s *Blueprint) SetVersionCode(v string) *Blueprint

SetVersionCode sets the VersionCode field's value.

String

func (s Blueprint) String() string

String returns the string representation

On this page: