1. Packages
  2. AWS Native
  3. API Docs
  4. iot
  5. getCertificateProvider

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.iot.getCertificateProvider

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    Use the AWS::IoT::CertificateProvider resource to declare an AWS IoT Certificate Provider.

    Using getCertificateProvider

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCertificateProvider(args: GetCertificateProviderArgs, opts?: InvokeOptions): Promise<GetCertificateProviderResult>
    function getCertificateProviderOutput(args: GetCertificateProviderOutputArgs, opts?: InvokeOptions): Output<GetCertificateProviderResult>
    def get_certificate_provider(certificate_provider_name: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetCertificateProviderResult
    def get_certificate_provider_output(certificate_provider_name: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetCertificateProviderResult]
    func LookupCertificateProvider(ctx *Context, args *LookupCertificateProviderArgs, opts ...InvokeOption) (*LookupCertificateProviderResult, error)
    func LookupCertificateProviderOutput(ctx *Context, args *LookupCertificateProviderOutputArgs, opts ...InvokeOption) LookupCertificateProviderResultOutput

    > Note: This function is named LookupCertificateProvider in the Go SDK.

    public static class GetCertificateProvider 
    {
        public static Task<GetCertificateProviderResult> InvokeAsync(GetCertificateProviderArgs args, InvokeOptions? opts = null)
        public static Output<GetCertificateProviderResult> Invoke(GetCertificateProviderInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCertificateProviderResult> getCertificateProvider(GetCertificateProviderArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:iot:getCertificateProvider
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CertificateProviderName string
    The name of the certificate provider.
    CertificateProviderName string
    The name of the certificate provider.
    certificateProviderName String
    The name of the certificate provider.
    certificateProviderName string
    The name of the certificate provider.
    certificate_provider_name str
    The name of the certificate provider.
    certificateProviderName String
    The name of the certificate provider.

    getCertificateProvider Result

    The following output properties are available:

    AccountDefaultForOperations List<Pulumi.AwsNative.IoT.CertificateProviderOperation>
    A list of the operations that the certificate provider will use to generate certificates. Valid value: CreateCertificateFromCsr .
    Arn string

    Returns the Amazon Resource Name (ARN) for the certificate. For example:

    { "Fn::GetAtt": ["MyCertificateProvider", "Arn"] }

    A value similar to the following is returned:

    arn:aws:iot:ap-southeast-2:123456789012:certprovider/my-certificate-provider

    LambdaFunctionArn string
    The ARN of the Lambda function.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    AccountDefaultForOperations []CertificateProviderOperation
    A list of the operations that the certificate provider will use to generate certificates. Valid value: CreateCertificateFromCsr .
    Arn string

    Returns the Amazon Resource Name (ARN) for the certificate. For example:

    { "Fn::GetAtt": ["MyCertificateProvider", "Arn"] }

    A value similar to the following is returned:

    arn:aws:iot:ap-southeast-2:123456789012:certprovider/my-certificate-provider

    LambdaFunctionArn string
    The ARN of the Lambda function.
    Tags Tag
    An array of key-value pairs to apply to this resource.
    accountDefaultForOperations List<CertificateProviderOperation>
    A list of the operations that the certificate provider will use to generate certificates. Valid value: CreateCertificateFromCsr .
    arn String

    Returns the Amazon Resource Name (ARN) for the certificate. For example:

    { "Fn::GetAtt": ["MyCertificateProvider", "Arn"] }

    A value similar to the following is returned:

    arn:aws:iot:ap-southeast-2:123456789012:certprovider/my-certificate-provider

    lambdaFunctionArn String
    The ARN of the Lambda function.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    accountDefaultForOperations CertificateProviderOperation[]
    A list of the operations that the certificate provider will use to generate certificates. Valid value: CreateCertificateFromCsr .
    arn string

    Returns the Amazon Resource Name (ARN) for the certificate. For example:

    { "Fn::GetAtt": ["MyCertificateProvider", "Arn"] }

    A value similar to the following is returned:

    arn:aws:iot:ap-southeast-2:123456789012:certprovider/my-certificate-provider

    lambdaFunctionArn string
    The ARN of the Lambda function.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    account_default_for_operations Sequence[CertificateProviderOperation]
    A list of the operations that the certificate provider will use to generate certificates. Valid value: CreateCertificateFromCsr .
    arn str

    Returns the Amazon Resource Name (ARN) for the certificate. For example:

    { "Fn::GetAtt": ["MyCertificateProvider", "Arn"] }

    A value similar to the following is returned:

    arn:aws:iot:ap-southeast-2:123456789012:certprovider/my-certificate-provider

    lambda_function_arn str
    The ARN of the Lambda function.
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    accountDefaultForOperations List<"CreateCertificateFromCsr">
    A list of the operations that the certificate provider will use to generate certificates. Valid value: CreateCertificateFromCsr .
    arn String

    Returns the Amazon Resource Name (ARN) for the certificate. For example:

    { "Fn::GetAtt": ["MyCertificateProvider", "Arn"] }

    A value similar to the following is returned:

    arn:aws:iot:ap-southeast-2:123456789012:certprovider/my-certificate-provider

    lambdaFunctionArn String
    The ARN of the Lambda function.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Supporting Types

    CertificateProviderOperation

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi