Skip to content
v2.278.0

CfnCertificateProviderProps Struct ​

Properties for defining a CfnCertificateProvider.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iot as iot } from 'aws-cdk-lib';
const cfnCertificateProviderProps: iot.CfnCertificateProviderProps = {
  accountDefaultForOperations: ['accountDefaultForOperations'],
  lambdaFunctionArn: 'lambdaFunctionArn',

  // the properties below are optional
  certificateProviderName: 'certificateProviderName',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
python
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_iot as iot

cfn_certificate_provider_props = iot.CfnCertificateProviderProps(
    account_default_for_operations=["accountDefaultForOperations"],
    lambda_function_arn="lambdaFunctionArn",

    # the properties below are optional
    certificate_provider_name="certificateProviderName",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
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.iot.*;

CfnCertificateProviderProps cfnCertificateProviderProps = CfnCertificateProviderProps.builder()
        .accountDefaultForOperations(List.of("accountDefaultForOperations"))
        .lambdaFunctionArn("lambdaFunctionArn")

        // the properties below are optional
        .certificateProviderName("certificateProviderName")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .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.IoT;

var cfnCertificateProviderProps = new CfnCertificateProviderProps {
    AccountDefaultForOperations = new [] { "accountDefaultForOperations" },
    LambdaFunctionArn = "lambdaFunctionArn",

    // the properties below are optional
    CertificateProviderName = "certificateProviderName",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
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"

cfnCertificateProviderProps := &CfnCertificateProviderProps{
	AccountDefaultForOperations: []*string{
		jsii.String("accountDefaultForOperations"),
	},
	LambdaFunctionArn: jsii.String("lambdaFunctionArn"),

	// the properties below are optional
	CertificateProviderName: jsii.String("certificateProviderName"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

accountDefaultForOperationsstring[]account_default_for_operationstyping.List[str]accountDefaultForOperationsList<String>AccountDefaultForOperationsstring[]AccountDefaultForOperations*[]*string required #
A list of the operations that the certificate provider will use to generate certificates.

Valid value: CreateCertificateFromCsr .

certificateProviderNameoptionalstringcertificate_provider_nameoptionalstrcertificateProviderNameoptionalStringCertificateProviderNameoptionalstringCertificateProviderNameoptional*string #
The name of the certificate provider.
lambdaFunctionArnstringlambda_function_arnstrlambdaFunctionArnStringLambdaFunctionArnstringLambdaFunctionArn*string required #
The ARN of the Lambda function.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
Metadata that can be used to manage the certificate provider.