ec2_describe_iam_instance_profile_associations: Describes your IAM instance profile associations

Description Usage Arguments Value Request syntax Examples

View source: R/ec2_operations.R

Description

Describes your IAM instance profile associations.

Usage

1
2
ec2_describe_iam_instance_profile_associations(AssociationIds, Filters,
  MaxResults, NextToken)

Arguments

AssociationIds

The IAM instance profile associations.

Filters

The filters.

  • instance-id - The ID of the instance.

  • state - The state of the association (associating | associated | disassociating).

MaxResults

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

NextToken

The token to request the next page of results.

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
list(
  IamInstanceProfileAssociations = list(
    list(
      AssociationId = "string",
      InstanceId = "string",
      IamInstanceProfile = list(
        Arn = "string",
        Id = "string"
      ),
      State = "associating"|"associated"|"disassociating"|"disassociated",
      Timestamp = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
svc$describe_iam_instance_profile_associations(
  AssociationIds = list(
    "string"
  ),
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  ),
  MaxResults = 123,
  NextToken = "string"
)

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# This example describes the specified IAM instance profile association.
svc$describe_iam_instance_profile_associations(
  AssociationIds = list(
    "iip-assoc-0db249b1f25fa24b8"
  )
)

## End(Not run)

paws.compute documentation built on March 7, 2021, 5:10 p.m.