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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iam/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:

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arn ⇒ String

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

Returns:

  • (String)


6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6066

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

#create_date ⇒ Time

The date when the instance profile was created.

Returns:

  • (Time)


6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6066

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

#instance_profile_id ⇒ String

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

Returns:

  • (String)


6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6066

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

#instance_profile_name ⇒ String

The name identifying the instance profile.

Returns:

  • (String)


6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6066

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

#path ⇒ String

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

Returns:

  • (String)


6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6066

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

#roles ⇒ Array<Types::Role>

The role associated with the instance profile.

Returns:



6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6066

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

#tags ⇒ Array<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.

Returns:



6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 6066

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