Class CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty
Output configuration for an OAuth2 provider.
Inherited Members
Namespace: Amazon.CDK.AWS.BedrockAgentCore
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty : CfnOAuth2CredentialProvider.IOauth2ProviderConfigOutputProperty
Syntax (vb)
Public Class CfnOAuth2CredentialProvider.Oauth2ProviderConfigOutputProperty Implements CfnOAuth2CredentialProvider.IOauth2ProviderConfigOutputProperty
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.AWS.BedrockAgentCore;
var oauth2ProviderConfigOutputProperty = new Oauth2ProviderConfigOutputProperty {
ClientAuthenticationMethod = "clientAuthenticationMethod",
ClientId = "clientId",
OauthDiscovery = new Oauth2DiscoveryProperty {
AuthorizationServerMetadata = new Oauth2AuthorizationServerMetadataProperty {
AuthorizationEndpoint = "authorizationEndpoint",
Issuer = "issuer",
TokenEndpoint = "tokenEndpoint",
// the properties below are optional
ResponseTypes = new [] { "responseTypes" }
},
DiscoveryUrl = "discoveryUrl"
},
OnBehalfOfTokenExchangeConfig = new OnBehalfOfTokenExchangeConfigProperty {
GrantType = "grantType",
// the properties below are optional
TokenExchangeGrantTypeConfig = new TokenExchangeGrantTypeConfigProperty {
ActorTokenContent = "actorTokenContent",
// the properties below are optional
ActorTokenScopes = new [] { "actorTokenScopes" }
}
},
PrivateEndpoint = new PrivateEndpointProperty {
ManagedVpcResource = new ManagedVpcResourceProperty {
EndpointIpAddressType = "endpointIpAddressType",
SubnetIds = new [] { "subnetIds" },
VpcIdentifier = "vpcIdentifier",
// the properties below are optional
RoutingDomain = "routingDomain",
SecurityGroupIds = new [] { "securityGroupIds" },
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
},
SelfManagedLatticeResource = new SelfManagedLatticeResourceProperty {
ResourceConfigurationIdentifier = "resourceConfigurationIdentifier"
}
},
PrivateEndpointOverrides = new [] { new PrivateEndpointOverrideProperty {
Domain = "domain",
PrivateEndpoint = new PrivateEndpointProperty {
ManagedVpcResource = new ManagedVpcResourceProperty {
EndpointIpAddressType = "endpointIpAddressType",
SubnetIds = new [] { "subnetIds" },
VpcIdentifier = "vpcIdentifier",
// the properties below are optional
RoutingDomain = "routingDomain",
SecurityGroupIds = new [] { "securityGroupIds" },
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
},
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
| Oauth2ProviderConfigOutputProperty() | Output configuration for an OAuth2 provider. |
Properties
| ClientAuthenticationMethod | The client authentication method used when authenticating with the token endpoint. |
| ClientId | Output configuration for an OAuth2 provider. |
| 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 | The list of private endpoint overrides for the OAuth2 provider. |
| PrivateKeyJwtConfig | Configuration for private_key_jwt client authentication (RFC 7523). |
Constructors
Oauth2ProviderConfigOutputProperty()
Output configuration for an OAuth2 provider.
public Oauth2ProviderConfigOutputProperty()
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.AWS.BedrockAgentCore;
var oauth2ProviderConfigOutputProperty = new Oauth2ProviderConfigOutputProperty {
ClientAuthenticationMethod = "clientAuthenticationMethod",
ClientId = "clientId",
OauthDiscovery = new Oauth2DiscoveryProperty {
AuthorizationServerMetadata = new Oauth2AuthorizationServerMetadataProperty {
AuthorizationEndpoint = "authorizationEndpoint",
Issuer = "issuer",
TokenEndpoint = "tokenEndpoint",
// the properties below are optional
ResponseTypes = new [] { "responseTypes" }
},
DiscoveryUrl = "discoveryUrl"
},
OnBehalfOfTokenExchangeConfig = new OnBehalfOfTokenExchangeConfigProperty {
GrantType = "grantType",
// the properties below are optional
TokenExchangeGrantTypeConfig = new TokenExchangeGrantTypeConfigProperty {
ActorTokenContent = "actorTokenContent",
// the properties below are optional
ActorTokenScopes = new [] { "actorTokenScopes" }
}
},
PrivateEndpoint = new PrivateEndpointProperty {
ManagedVpcResource = new ManagedVpcResourceProperty {
EndpointIpAddressType = "endpointIpAddressType",
SubnetIds = new [] { "subnetIds" },
VpcIdentifier = "vpcIdentifier",
// the properties below are optional
RoutingDomain = "routingDomain",
SecurityGroupIds = new [] { "securityGroupIds" },
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
},
SelfManagedLatticeResource = new SelfManagedLatticeResourceProperty {
ResourceConfigurationIdentifier = "resourceConfigurationIdentifier"
}
},
PrivateEndpointOverrides = new [] { new PrivateEndpointOverrideProperty {
Domain = "domain",
PrivateEndpoint = new PrivateEndpointProperty {
ManagedVpcResource = new ManagedVpcResourceProperty {
EndpointIpAddressType = "endpointIpAddressType",
SubnetIds = new [] { "subnetIds" },
VpcIdentifier = "vpcIdentifier",
// the properties below are optional
RoutingDomain = "routingDomain",
SecurityGroupIds = new [] { "securityGroupIds" },
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
},
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 used when authenticating with the token endpoint.
public string? ClientAuthenticationMethod { get; set; }
Property Value
Remarks
ClientId
Output configuration for an OAuth2 provider.
public string? ClientId { 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 CfnOAuth2CredentialProvider.IOauth2DiscoveryProperty
OnBehalfOfTokenExchangeConfig
Configuration for on-behalf-of token exchange.
public object? OnBehalfOfTokenExchangeConfig { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnOAuth2CredentialProvider.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 CfnOAuth2CredentialProvider.IPrivateEndpointProperty
PrivateEndpointOverrides
The list of private endpoint overrides for the OAuth2 provider.
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 CfnOAuth2CredentialProvider.IPrivateEndpointOverrideProperty)[]
PrivateKeyJwtConfig
Configuration for private_key_jwt client authentication (RFC 7523).
public object? PrivateKeyJwtConfig { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnOAuth2CredentialProvider.IPrivateKeyJwtConfigProperty