class Azure::Security::Mgmt::V2020_01_01_preview::Models::AwsCredsAuthenticationDetailsProperties

AWS cloud account connector based credentials, the credentials is composed of access key ID and secret key, for more details, refer to <a href=“Creating”>docs.aws.amazon.com/IAM/latest/UserGuide/id_users_create.html“>Creating an IAM User in Your AWS Account (write only)</a>

Attributes

account_id[RW]

@return [String] The ID of the cloud account

authenticationType[RW]
aws_access_key_id[RW]

@return [String] Public key element of the AWS credential object (write only)

aws_secret_access_key[RW]

@return [String] Secret key element of the AWS credential object (write only)

Private Class Methods

mapper() click to toggle source

Mapper for AwsCredsAuthenticationDetailsProperties class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-01-01-preview/generated/azure_mgmt_security/models/aws_creds_authentication_details_properties.rb, line 41
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'awsCreds',
    type: {
      name: 'Composite',
      class_name: 'AwsCredsAuthenticationDetailsProperties',
      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_access_key_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'awsAccessKeyId',
          type: {
            name: 'String'
          }
        },
        aws_secret_access_key: {
          client_side_validation: true,
          required: true,
          serialized_name: 'awsSecretAccessKey',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/2020-01-01-preview/generated/azure_mgmt_security/models/aws_creds_authentication_details_properties.rb, line 19
def initialize
  @authenticationType = "awsCreds"
end