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.

PlacementTemplate

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

type PlacementTemplate struct { DefaultAttributes map[string]*string `locationName:"defaultAttributes" type:"map"` DeviceTemplates map[string]*DeviceTemplate `locationName:"deviceTemplates" type:"map"` }

An object defining the template for a placement.

DefaultAttributes

Type: map[string]*string

The default attributes (key/value pairs) to be applied to all placements using this template.

DeviceTemplates

Type: map[string]*DeviceTemplate

An object specifying the DeviceTemplate for all placements using this (PlacementTemplate) template.

Method

GoString

func (s PlacementTemplate) GoString() string

GoString returns the string representation

SetDefaultAttributes

func (s *PlacementTemplate) SetDefaultAttributes(v map[string]*string) *PlacementTemplate

SetDefaultAttributes sets the DefaultAttributes field's value.

SetDeviceTemplates

func (s *PlacementTemplate) SetDeviceTemplates(v map[string]*DeviceTemplate) *PlacementTemplate

SetDeviceTemplates sets the DeviceTemplates field's value.

String

func (s PlacementTemplate) String() string

String returns the string representation

On this page: