Skip to content

Batch Associate Resource

fms_batch_associate_resource R Documentation

Associate resources to a Firewall Manager resource set

Description

Associate resources to a Firewall Manager resource set.

Usage

fms_batch_associate_resource(ResourceSetIdentifier, Items)

Arguments

ResourceSetIdentifier

[required] A unique identifier for the resource set, used in a request to refer to the resource set.

Items

[required] The uniform resource identifiers (URIs) of resources that should be associated to the resource set. The URIs must be Amazon Resource Names (ARNs).

Value

A list with the following syntax:

list(
  ResourceSetIdentifier = "string",
  FailedItems = list(
    list(
      URI = "string",
      Reason = "NOT_VALID_ARN"|"NOT_VALID_PARTITION"|"NOT_VALID_REGION"|"NOT_VALID_SERVICE"|"NOT_VALID_RESOURCE_TYPE"|"NOT_VALID_ACCOUNT_ID"
    )
  )
)

Request syntax

svc$batch_associate_resource(
  ResourceSetIdentifier = "string",
  Items = list(
    "string"
  )
)