Class: Azure::Security::Mgmt::V2020_01_01_preview::Models::AwAssumeRoleAuthenticationDetailsProperties
- Inherits:
-
AuthenticationDetailsProperties
- Object
- AuthenticationDetailsProperties
- Azure::Security::Mgmt::V2020_01_01_preview::Models::AwAssumeRoleAuthenticationDetailsProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-01-01-preview/generated/azure_mgmt_security/models/aw_assume_role_authentication_details_properties.rb
Overview
AWS cloud account connector based assume role, the role enables delegating access to your AWS resources. The role is composed of role Amazon Resource Name (ARN) and external ID. For more details, refer to <a href=“docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user.html”>Creating a Role to Delegate Permissions to an IAM User (write only)</a>
Instance Attribute Summary collapse
-
#account_id ⇒ String
The ID of the cloud account.
-
#authenticationType ⇒ Object
Returns the value of attribute authenticationType.
-
#aws_assume_role_arn ⇒ String
create temporary security credentials.
-
#aws_external_id ⇒ String
role in another account.
Attributes inherited from AuthenticationDetailsProperties
#authentication_provisioning_state, #granted_permissions
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AwAssumeRoleAuthenticationDetailsProperties class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ AwAssumeRoleAuthenticationDetailsProperties
constructor
A new instance of AwAssumeRoleAuthenticationDetailsProperties.
Constructor Details
#initialize ⇒ AwAssumeRoleAuthenticationDetailsProperties
20 21 22 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/aw_assume_role_authentication_details_properties.rb', line 20 def initialize @authenticationType = "awsAssumeRole" end |
Instance Attribute Details
#account_id ⇒ String
27 28 29 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/aw_assume_role_authentication_details_properties.rb', line 27 def account_id @account_id end |
#authenticationType ⇒ Object
Returns the value of attribute authenticationType.
24 25 26 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/aw_assume_role_authentication_details_properties.rb', line 24 def authenticationType @authenticationType end |
#aws_assume_role_arn ⇒ String
create temporary security credentials.
31 32 33 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/aw_assume_role_authentication_details_properties.rb', line 31 def aws_assume_role_arn @aws_assume_role_arn end |
#aws_external_id ⇒ String
role in another account.
35 36 37 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/aw_assume_role_authentication_details_properties.rb', line 35 def aws_external_id @aws_external_id end |
Class Method Details
.mapper ⇒ Object
Mapper for AwAssumeRoleAuthenticationDetailsProperties class as Ruby Hash. This will be used for serialization/deserialization.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 |
# File 'lib/2020-01-01-preview/generated/azure_mgmt_security/models/aw_assume_role_authentication_details_properties.rb', line 43 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'awsAssumeRole', type: { name: 'Composite', class_name: 'AwAssumeRoleAuthenticationDetailsProperties', model_properties: { authentication_provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'authenticationProvisioningState', type: { name: 'String' } }, granted_permissions: { client_side_validation: true, required: false, read_only: true, serialized_name: 'grantedPermissions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'PermissionPropertyElementType', type: { name: 'String' } } } }, authenticationType: { client_side_validation: true, required: true, serialized_name: 'authenticationType', type: { name: 'String' } }, account_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'accountId', type: { name: 'String' } }, aws_assume_role_arn: { client_side_validation: true, required: true, serialized_name: 'awsAssumeRoleArn', type: { name: 'String' } }, aws_external_id: { client_side_validation: true, required: true, serialized_name: 'awsExternalId', type: { name: 'String' } } } } } end |