# ExtendedKeyUsageProperty

Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in the `KeyUsage` extension.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_acmpca as acmpca } from 'aws-cdk-lib';
const extendedKeyUsageProperty: acmpca.CfnCertificate.ExtendedKeyUsageProperty = {
  extendedKeyUsageObjectIdentifier: 'extendedKeyUsageObjectIdentifier',
  extendedKeyUsageType: 'extendedKeyUsageType',
};
```

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_acmpca as acmpca

extended_key_usage_property = acmpca.CfnCertificate.ExtendedKeyUsageProperty(
    extended_key_usage_object_identifier="extendedKeyUsageObjectIdentifier",
    extended_key_usage_type="extendedKeyUsageType"
)
```

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.acmpca.*;

ExtendedKeyUsageProperty extendedKeyUsageProperty = ExtendedKeyUsageProperty.builder()
        .extendedKeyUsageObjectIdentifier("extendedKeyUsageObjectIdentifier")
        .extendedKeyUsageType("extendedKeyUsageType")
        .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.ACMPCA;

var extendedKeyUsageProperty = new ExtendedKeyUsageProperty {
    ExtendedKeyUsageObjectIdentifier = "extendedKeyUsageObjectIdentifier",
    ExtendedKeyUsageType = "extendedKeyUsageType"
};
```

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"

extendedKeyUsageProperty := &ExtendedKeyUsageProperty{
	ExtendedKeyUsageObjectIdentifier: jsii.String("extendedKeyUsageObjectIdentifier"),
	ExtendedKeyUsageType: jsii.String("extendedKeyUsageType"),
}
```

## Properties

- `extendedKeyUsageObjectIdentifier`: string — Specifies a custom `ExtendedKeyUsage` with an object identifier (OID).

- `extendedKeyUsageType`: string — Specifies a standard `ExtendedKeyUsage` as defined as in [RFC 5280](https://docs.aws.amazon.com/https://datatracker.ietf.org/doc/html/rfc5280#section-4.2.1.12) .
