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.
1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 |
# File 'gems/aws-sdk-agentregistrycontrol/lib/aws-sdk-agentregistrycontrol/types.rb', line 1520 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.
1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 |
# File 'gems/aws-sdk-agentregistrycontrol/lib/aws-sdk-agentregistrycontrol/types.rb', line 1520 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
1520 1521 1522 |
# File 'gems/aws-sdk-agentregistrycontrol/lib/aws-sdk-agentregistrycontrol/types.rb', line 1520 def unknown @unknown end |