Skip to content
v2.277.0

NativeApplicationOidcOptionsProperty Struct ​

Describes the OpenID Connect (OIDC) options.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ec2 as ec2 } from 'aws-cdk-lib';
const nativeApplicationOidcOptionsProperty: ec2.CfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty = {
  authorizationEndpoint: 'authorizationEndpoint',
  clientId: 'clientId',
  clientSecret: 'clientSecret',
  issuer: 'issuer',
  publicSigningKeyEndpoint: 'publicSigningKeyEndpoint',
  scope: 'scope',
  tokenEndpoint: 'tokenEndpoint',
  userInfoEndpoint: 'userInfoEndpoint',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ec2 as ec2

native_application_oidc_options_property = ec2.CfnVerifiedAccessTrustProvider.NativeApplicationOidcOptionsProperty(
    authorization_endpoint="authorizationEndpoint",
    client_id="clientId",
    client_secret="clientSecret",
    issuer="issuer",
    public_signing_key_endpoint="publicSigningKeyEndpoint",
    scope="scope",
    token_endpoint="tokenEndpoint",
    user_info_endpoint="userInfoEndpoint"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;

NativeApplicationOidcOptionsProperty nativeApplicationOidcOptionsProperty = NativeApplicationOidcOptionsProperty.builder()
        .authorizationEndpoint("authorizationEndpoint")
        .clientId("clientId")
        .clientSecret("clientSecret")
        .issuer("issuer")
        .publicSigningKeyEndpoint("publicSigningKeyEndpoint")
        .scope("scope")
        .tokenEndpoint("tokenEndpoint")
        .userInfoEndpoint("userInfoEndpoint")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EC2;

var nativeApplicationOidcOptionsProperty = new NativeApplicationOidcOptionsProperty {
    AuthorizationEndpoint = "authorizationEndpoint",
    ClientId = "clientId",
    ClientSecret = "clientSecret",
    Issuer = "issuer",
    PublicSigningKeyEndpoint = "publicSigningKeyEndpoint",
    Scope = "scope",
    TokenEndpoint = "tokenEndpoint",
    UserInfoEndpoint = "userInfoEndpoint"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

nativeApplicationOidcOptionsProperty := &NativeApplicationOidcOptionsProperty{
	AuthorizationEndpoint: jsii.String("authorizationEndpoint"),
	ClientId: jsii.String("clientId"),
	ClientSecret: jsii.String("clientSecret"),
	Issuer: jsii.String("issuer"),
	PublicSigningKeyEndpoint: jsii.String("publicSigningKeyEndpoint"),
	Scope: jsii.String("scope"),
	TokenEndpoint: jsii.String("tokenEndpoint"),
	UserInfoEndpoint: jsii.String("userInfoEndpoint"),
}

Properties ​

authorizationEndpointoptionalstringauthorization_endpointoptionalstrauthorizationEndpointoptionalStringAuthorizationEndpointoptionalstringAuthorizationEndpointoptional*string #
The authorization endpoint of the IdP.
clientIdoptionalstringclient_idoptionalstrclientIdoptionalStringClientIdoptionalstringClientIdoptional*string #
The OAuth 2.0 client identifier.
clientSecretoptionalstringclient_secretoptionalstrclientSecretoptionalStringClientSecretoptionalstringClientSecretoptional*string #
The OAuth 2.0 client secret.
issueroptionalstringissueroptionalstrissueroptionalStringIssueroptionalstringIssueroptional*string #
The OIDC issuer identifier of the IdP.
publicSigningKeyEndpointoptionalstringpublic_signing_key_endpointoptionalstrpublicSigningKeyEndpointoptionalStringPublicSigningKeyEndpointoptionalstringPublicSigningKeyEndpointoptional*string #
The public signing key endpoint.
scopeoptionalstringscopeoptionalstrscopeoptionalStringScopeoptionalstringScopeoptional*string #
The set of user claims to be requested from the IdP.
tokenEndpointoptionalstringtoken_endpointoptionalstrtokenEndpointoptionalStringTokenEndpointoptionalstringTokenEndpointoptional*string #
The token endpoint of the IdP.
userInfoEndpointoptionalstringuser_info_endpointoptionalstruserInfoEndpointoptionalStringUserInfoEndpointoptionalstringUserInfoEndpointoptional*string #
The user info endpoint of the IdP.