opsworks_assign_instance: Assign a registered instance to a layer

Description Usage Arguments Value Request syntax

View source: R/opsworks_operations.R

Description

Assign a registered instance to a layer.

Required Permissions: To use this action, an AWS Identity and Access Management (IAM) user must have a Manage permissions level for the stack or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

Usage

1
opsworks_assign_instance(InstanceId, LayerIds)

Arguments

InstanceId

[required] The instance ID.

LayerIds

[required] The layer ID, which must correspond to a custom layer. You cannot assign a registered instance to a built-in layer.

Value

An empty list.

Request syntax

1
2
3
4
5
6
svc$assign_instance(
  InstanceId = "string",
  LayerIds = list(
    "string"
  )
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.