Class CfnOAuth2CredentialProviderPropsMixin.CustomOauth2ProviderConfigInputProperty
Input configuration for a custom OAuth2 provider.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.BedrockAgentCore
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnOAuth2CredentialProviderPropsMixin.CustomOauth2ProviderConfigInputProperty : CfnOAuth2CredentialProviderPropsMixin.ICustomOauth2ProviderConfigInputProperty
Syntax (vb)
Public Class CfnOAuth2CredentialProviderPropsMixin.CustomOauth2ProviderConfigInputProperty Implements CfnOAuth2CredentialProviderPropsMixin.ICustomOauth2ProviderConfigInputProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.BedrockAgentCore;
var customOauth2ProviderConfigInputProperty = new CustomOauth2ProviderConfigInputProperty {
ClientAuthenticationMethod = "clientAuthenticationMethod",
ClientId = "clientId",
ClientSecret = "clientSecret",
ClientSecretConfig = new SecretReferenceProperty {
JsonKey = "jsonKey",
SecretId = "secretId"
},
ClientSecretSource = "clientSecretSource",
OauthDiscovery = new Oauth2DiscoveryProperty {
AuthorizationServerMetadata = new Oauth2AuthorizationServerMetadataProperty {
AuthorizationEndpoint = "authorizationEndpoint",
Issuer = "issuer",
ResponseTypes = new [] { "responseTypes" },
TokenEndpoint = "tokenEndpoint"
},
DiscoveryUrl = "discoveryUrl"
},
OnBehalfOfTokenExchangeConfig = new OnBehalfOfTokenExchangeConfigProperty {
GrantType = "grantType",
TokenExchangeGrantTypeConfig = new TokenExchangeGrantTypeConfigProperty {
ActorTokenContent = "actorTokenContent",
ActorTokenScopes = new [] { "actorTokenScopes" }
}
},
PrivateEndpoint = new PrivateEndpointProperty {
ManagedVpcResource = new ManagedVpcResourceProperty {
EndpointIpAddressType = "endpointIpAddressType",
RoutingDomain = "routingDomain",
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetIds = new [] { "subnetIds" },
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
},
VpcIdentifier = "vpcIdentifier"
},
SelfManagedLatticeResource = new SelfManagedLatticeResourceProperty {
ResourceConfigurationIdentifier = "resourceConfigurationIdentifier"
}
},
PrivateEndpointOverrides = new [] { new PrivateEndpointOverrideProperty {
Domain = "domain",
PrivateEndpoint = new PrivateEndpointProperty {
ManagedVpcResource = new ManagedVpcResourceProperty {
EndpointIpAddressType = "endpointIpAddressType",
RoutingDomain = "routingDomain",
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetIds = new [] { "subnetIds" },
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
},
VpcIdentifier = "vpcIdentifier"
},
SelfManagedLatticeResource = new SelfManagedLatticeResourceProperty {
ResourceConfigurationIdentifier = "resourceConfigurationIdentifier"
}
}
} },
PrivateKeyJwtConfig = new PrivateKeyJwtConfigProperty {
AdditionalHeaderClaims = new Dictionary<string, string> {
{ "additionalHeaderClaimsKey", "additionalHeaderClaims" }
},
AdditionalPayloadClaims = new Dictionary<string, string> {
{ "additionalPayloadClaimsKey", "additionalPayloadClaims" }
},
PrivateKeySource = new PrivateKeySourceProperty {
KmsKeySource = new KmsKeySourceTypeProperty {
KmsKeyArn = "kmsKeyArn"
}
},
SigningAlgorithm = "signingAlgorithm"
}
};
Synopsis
Constructors
| CustomOauth2ProviderConfigInputProperty() | Input configuration for a custom OAuth2 provider. |
Properties
| ClientAuthenticationMethod | The client authentication method to use when authenticating with the token endpoint. |
| ClientId | The client ID for the custom OAuth2 provider. |
| ClientSecret | The client secret for the custom OAuth2 provider. |
| ClientSecretConfig | A reference to a customer-provided secret stored in AWS Secrets Manager. |
| ClientSecretSource | The source of the client secret. |
| OauthDiscovery | Discovery information for an OAuth2 provider. |
| OnBehalfOfTokenExchangeConfig | Configuration for on-behalf-of token exchange. |
| PrivateEndpoint | The private endpoint configuration for connecting to private resources in your VPC. |
| PrivateEndpointOverrides | A list of private endpoint overrides. |
| PrivateKeyJwtConfig | Configuration for private_key_jwt client authentication (RFC 7523). |
Constructors
CustomOauth2ProviderConfigInputProperty()
Input configuration for a custom OAuth2 provider.
public CustomOauth2ProviderConfigInputProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.BedrockAgentCore;
var customOauth2ProviderConfigInputProperty = new CustomOauth2ProviderConfigInputProperty {
ClientAuthenticationMethod = "clientAuthenticationMethod",
ClientId = "clientId",
ClientSecret = "clientSecret",
ClientSecretConfig = new SecretReferenceProperty {
JsonKey = "jsonKey",
SecretId = "secretId"
},
ClientSecretSource = "clientSecretSource",
OauthDiscovery = new Oauth2DiscoveryProperty {
AuthorizationServerMetadata = new Oauth2AuthorizationServerMetadataProperty {
AuthorizationEndpoint = "authorizationEndpoint",
Issuer = "issuer",
ResponseTypes = new [] { "responseTypes" },
TokenEndpoint = "tokenEndpoint"
},
DiscoveryUrl = "discoveryUrl"
},
OnBehalfOfTokenExchangeConfig = new OnBehalfOfTokenExchangeConfigProperty {
GrantType = "grantType",
TokenExchangeGrantTypeConfig = new TokenExchangeGrantTypeConfigProperty {
ActorTokenContent = "actorTokenContent",
ActorTokenScopes = new [] { "actorTokenScopes" }
}
},
PrivateEndpoint = new PrivateEndpointProperty {
ManagedVpcResource = new ManagedVpcResourceProperty {
EndpointIpAddressType = "endpointIpAddressType",
RoutingDomain = "routingDomain",
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetIds = new [] { "subnetIds" },
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
},
VpcIdentifier = "vpcIdentifier"
},
SelfManagedLatticeResource = new SelfManagedLatticeResourceProperty {
ResourceConfigurationIdentifier = "resourceConfigurationIdentifier"
}
},
PrivateEndpointOverrides = new [] { new PrivateEndpointOverrideProperty {
Domain = "domain",
PrivateEndpoint = new PrivateEndpointProperty {
ManagedVpcResource = new ManagedVpcResourceProperty {
EndpointIpAddressType = "endpointIpAddressType",
RoutingDomain = "routingDomain",
SecurityGroupIds = new [] { "securityGroupIds" },
SubnetIds = new [] { "subnetIds" },
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
},
VpcIdentifier = "vpcIdentifier"
},
SelfManagedLatticeResource = new SelfManagedLatticeResourceProperty {
ResourceConfigurationIdentifier = "resourceConfigurationIdentifier"
}
}
} },
PrivateKeyJwtConfig = new PrivateKeyJwtConfigProperty {
AdditionalHeaderClaims = new Dictionary<string, string> {
{ "additionalHeaderClaimsKey", "additionalHeaderClaims" }
},
AdditionalPayloadClaims = new Dictionary<string, string> {
{ "additionalPayloadClaimsKey", "additionalPayloadClaims" }
},
PrivateKeySource = new PrivateKeySourceProperty {
KmsKeySource = new KmsKeySourceTypeProperty {
KmsKeyArn = "kmsKeyArn"
}
},
SigningAlgorithm = "signingAlgorithm"
}
};
Properties
ClientAuthenticationMethod
The client authentication method to use when authenticating with the token endpoint.
public string? ClientAuthenticationMethod { get; set; }
Property Value
Remarks
ClientId
The client ID for the custom OAuth2 provider.
public string? ClientId { get; set; }
Property Value
Remarks
ClientSecret
The client secret for the custom OAuth2 provider.
public string? ClientSecret { get; set; }
Property Value
Remarks
ClientSecretConfig
A reference to a customer-provided secret stored in AWS Secrets Manager.
public object? ClientSecretConfig { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnOAuth2CredentialProviderPropsMixin.ISecretReferenceProperty
ClientSecretSource
The source of the client secret.
public string? ClientSecretSource { get; set; }
Property Value
Remarks
OauthDiscovery
Discovery information for an OAuth2 provider.
public object? OauthDiscovery { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnOAuth2CredentialProviderPropsMixin.IOauth2DiscoveryProperty
OnBehalfOfTokenExchangeConfig
Configuration for on-behalf-of token exchange.
public object? OnBehalfOfTokenExchangeConfig { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnOAuth2CredentialProviderPropsMixin.IOnBehalfOfTokenExchangeConfigProperty
PrivateEndpoint
The private endpoint configuration for connecting to private resources in your VPC.
public object? PrivateEndpoint { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnOAuth2CredentialProviderPropsMixin.IPrivateEndpointProperty
PrivateEndpointOverrides
A list of private endpoint overrides.
public object? PrivateEndpointOverrides { get; set; }
Property Value
Remarks
Each override maps a specific domain to a private endpoint, enabling secure connectivity through VPC Lattice resource configurations.
Type union: either IResolvable or (either IResolvable or CfnOAuth2CredentialProviderPropsMixin.IPrivateEndpointOverrideProperty)[]
PrivateKeyJwtConfig
Configuration for private_key_jwt client authentication (RFC 7523).
public object? PrivateKeyJwtConfig { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnOAuth2CredentialProviderPropsMixin.IPrivateKeyJwtConfigProperty