# NativeApplicationOidcOptionsProperty

Describes the OpenID Connect (OIDC) options.

- Source: Generated at build time
- Type last changed: v2.178.0 · 6 Feb 2025

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `authorizationEndpoint`: string — The authorization endpoint of the IdP.

- `clientId`: string — The OAuth 2.0 client identifier.

- `clientSecret`: string — The OAuth 2.0 client secret.

- `issuer`: string — The OIDC issuer identifier of the IdP.

- `publicSigningKeyEndpoint`: string — The public signing key endpoint.

- `scope`: string — The set of user claims to be requested from the IdP.

- `tokenEndpoint`: string — The token endpoint of the IdP.

- `userInfoEndpoint`: string — The user info endpoint of the IdP.
