Skip to content
v2.278.0

ExtendedKeyUsageProperty Struct ​

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

Example ​

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
# 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
// 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();
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"
};
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 ​

extendedKeyUsageObjectIdentifieroptionalstringextended_key_usage_object_identifieroptionalstrextendedKeyUsageObjectIdentifieroptionalStringExtendedKeyUsageObjectIdentifieroptionalstringExtendedKeyUsageObjectIdentifieroptional*string #
Specifies a custom `ExtendedKeyUsage` with an object identifier (OID).
extendedKeyUsageTypeoptionalstringextended_key_usage_typeoptionalstrextendedKeyUsageTypeoptionalStringExtendedKeyUsageTypeoptionalstringExtendedKeyUsageTypeoptional*string #
Specifies a standard `ExtendedKeyUsage` as defined as in RFC 5280 .