Class: Aws::IAM::Types::InstanceProfile

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iam/types.rb

Overview

Contains information about an instance profile.

This data type is used as a response element in the following operations:

  • CreateInstanceProfile

  • GetInstanceProfile

  • ListInstanceProfiles

  • ListInstanceProfilesForRole

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see

IAM identifiers][1

in the *IAM User Guide*.

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html

Returns:

  • (String)


4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
# File 'lib/aws-sdk-iam/types.rb', line 4573

class InstanceProfile < Struct.new(
  :path,
  :instance_profile_name,
  :instance_profile_id,
  :arn,
  :create_date,
  :roles,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#create_dateTime

The date when the instance profile was created.

Returns:

  • (Time)


4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
# File 'lib/aws-sdk-iam/types.rb', line 4573

class InstanceProfile < Struct.new(
  :path,
  :instance_profile_name,
  :instance_profile_id,
  :arn,
  :create_date,
  :roles,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#instance_profile_idString

The stable and unique string identifying the instance profile. For more information about IDs, see [IAM identifiers] in the *IAM User Guide*.

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html

Returns:

  • (String)


4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
# File 'lib/aws-sdk-iam/types.rb', line 4573

class InstanceProfile < Struct.new(
  :path,
  :instance_profile_name,
  :instance_profile_id,
  :arn,
  :create_date,
  :roles,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#instance_profile_nameString

The name identifying the instance profile.

Returns:

  • (String)


4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
# File 'lib/aws-sdk-iam/types.rb', line 4573

class InstanceProfile < Struct.new(
  :path,
  :instance_profile_name,
  :instance_profile_id,
  :arn,
  :create_date,
  :roles,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#pathString

The path to the instance profile. For more information about paths, see [IAM identifiers] in the *IAM User Guide*.

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html

Returns:

  • (String)


4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
# File 'lib/aws-sdk-iam/types.rb', line 4573

class InstanceProfile < Struct.new(
  :path,
  :instance_profile_name,
  :instance_profile_id,
  :arn,
  :create_date,
  :roles,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#rolesArray<Types::Role>

The role associated with the instance profile.

Returns:



4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
# File 'lib/aws-sdk-iam/types.rb', line 4573

class InstanceProfile < Struct.new(
  :path,
  :instance_profile_name,
  :instance_profile_id,
  :arn,
  :create_date,
  :roles,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of tags that are attached to the instance profile. For more information about tagging, see [Tagging IAM resources] in the *IAM User Guide*.

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html

Returns:



4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
# File 'lib/aws-sdk-iam/types.rb', line 4573

class InstanceProfile < Struct.new(
  :path,
  :instance_profile_name,
  :instance_profile_id,
  :arn,
  :create_date,
  :roles,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end