Interface CfnRegistryRecord.DescriptorSourceFromUrlProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRegistryRecord.DescriptorSourceFromUrlProperty.Jsii$Proxy
- Enclosing class:
CfnRegistryRecord
@Stability(Stable)
public static interface CfnRegistryRecord.DescriptorSourceFromUrlProperty
extends software.amazon.jsii.JsiiSerializable
URL-based descriptor source configuration, with credential provider configurations for authenticated URL 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.*;
DescriptorSourceFromUrlProperty descriptorSourceFromUrlProperty = DescriptorSourceFromUrlProperty.builder()
.url("url")
// the properties below are optional
.credentialProviderConfigurations(List.of(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()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRegistryRecord.DescriptorSourceFromUrlPropertystatic final classAn implementation forCfnRegistryRecord.DescriptorSourceFromUrlProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getUrl
URL source for descriptor content.- See Also:
-
getCredentialProviderConfigurations
The credential providers used to authenticate when fetching descriptor content from the source URL.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRegistryRecord.RegistryRecordCredentialProviderConfigurationProperty>- See Also:
-
builder
-