Interface CfnRegistryRecord.RegistryRecordCredentialProviderConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRegistryRecord.RegistryRecordCredentialProviderConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnRegistryRecord
@Stability(Stable)
public static interface CfnRegistryRecord.RegistryRecordCredentialProviderConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
A credential provider configuration used for authenticated descriptor retrieval.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.agentregistry.*;
RegistryRecordCredentialProviderConfigurationProperty registryRecordCredentialProviderConfigurationProperty = RegistryRecordCredentialProviderConfigurationProperty.builder()
.credentialProvider(RegistryRecordCredentialProviderUnionProperty.builder()
.iamCredentialProvider(RegistryRecordIamCredentialProviderProperty.builder()
.region("region")
.roleArn("roleArn")
.service("service")
.build())
.oauthCredentialProvider(RegistryRecordOAuthCredentialProviderProperty.builder()
.providerArn("providerArn")
// the properties below are optional
.customParameters(Map.of(
"customParametersKey", "customParameters"))
.grantType("grantType")
.scopes(List.of("scopes"))
.build())
.build())
.credentialProviderType("credentialProviderType")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnRegistryRecord.RegistryRecordCredentialProviderConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCredentialProvider
The credential provider details.Specify exactly one member.
Returns union: either
IResolvableorCfnRegistryRecord.RegistryRecordCredentialProviderUnionProperty- See Also:
-
getCredentialProviderType
- See Also:
-
builder
@Stability(Stable) static CfnRegistryRecord.RegistryRecordCredentialProviderConfigurationProperty.Builder builder()
-