We recommend new projects start with resources from the AWS provider.
aws-native.iot.getCertificateProvider
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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:
- Certificate
Provider stringName - The name of the certificate provider.
- Certificate
Provider stringName - The name of the certificate provider.
- certificate
Provider StringName - The name of the certificate provider.
- certificate
Provider stringName - The name of the certificate provider.
- certificate_
provider_ strname - The name of the certificate provider.
- certificate
Provider StringName - The name of the certificate provider.
getCertificateProvider Result
The following output properties are available:
- Account
Default List<Pulumi.For Operations Aws Native. Io T. Certificate Provider Operation> - 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
- Lambda
Function stringArn - The ARN of the Lambda function.
- List<Pulumi.
Aws Native. Outputs. Tag> - An array of key-value pairs to apply to this resource.
- Account
Default []CertificateFor Operations Provider Operation - 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
- Lambda
Function stringArn - The ARN of the Lambda function.
- Tag
- An array of key-value pairs to apply to this resource.
- account
Default List<CertificateFor Operations Provider Operation> - 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
- lambda
Function StringArn - The ARN of the Lambda function.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- account
Default CertificateFor Operations Provider Operation[] - 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
- lambda
Function stringArn - The ARN of the Lambda function.
- Tag[]
- An array of key-value pairs to apply to this resource.
- account_
default_ Sequence[Certificatefor_ operations Provider Operation] - 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_ strarn - The ARN of the Lambda function.
- Sequence[root_Tag]
- An array of key-value pairs to apply to this resource.
- account
Default List<"CreateFor Operations Certificate From Csr"> - 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
- lambda
Function StringArn - The ARN of the Lambda function.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Supporting Types
CertificateProviderOperation
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.