Class: Aws::AgentRegistryControl::Types::RegistryRecordCredentialProviderUnion
- Inherits:
-
Struct
- Object
- Struct
- Aws::AgentRegistryControl::Types::RegistryRecordCredentialProviderUnion
- Defined in:
- gems/aws-sdk-agentregistrycontrol/lib/aws-sdk-agentregistrycontrol/types.rb
Overview
RegistryRecordCredentialProviderUnion is a union - when making an API calls you must set exactly one of the members.
RegistryRecordCredentialProviderUnion is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RegistryRecordCredentialProviderUnion corresponding to the set member.
The credential provider details for a registry record. Exactly one member is populated, matching the configured credential provider type.
Defined Under Namespace
Classes: IamCredentialProvider, OauthCredentialProvider, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#iam_credential_provider ⇒ Types::RegistryRecordIamCredentialProvider
The IAM role credential provider details.
-
#oauth_credential_provider ⇒ Types::RegistryRecordOAuthCredentialProvider
The OAuth 2.0 credential provider details.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#iam_credential_provider ⇒ Types::RegistryRecordIamCredentialProvider
The IAM role credential provider details.
1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 |
# File 'gems/aws-sdk-agentregistrycontrol/lib/aws-sdk-agentregistrycontrol/types.rb', line 1433 class RegistryRecordCredentialProviderUnion < Struct.new( :oauth_credential_provider, :iam_credential_provider, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class OauthCredentialProvider < RegistryRecordCredentialProviderUnion; end class IamCredentialProvider < RegistryRecordCredentialProviderUnion; end class Unknown < RegistryRecordCredentialProviderUnion; end end |
#oauth_credential_provider ⇒ Types::RegistryRecordOAuthCredentialProvider
The OAuth 2.0 credential provider details.
1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 |
# File 'gems/aws-sdk-agentregistrycontrol/lib/aws-sdk-agentregistrycontrol/types.rb', line 1433 class RegistryRecordCredentialProviderUnion < Struct.new( :oauth_credential_provider, :iam_credential_provider, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class OauthCredentialProvider < RegistryRecordCredentialProviderUnion; end class IamCredentialProvider < RegistryRecordCredentialProviderUnion; end class Unknown < RegistryRecordCredentialProviderUnion; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
1433 1434 1435 |
# File 'gems/aws-sdk-agentregistrycontrol/lib/aws-sdk-agentregistrycontrol/types.rb', line 1433 def unknown @unknown end |