We recommend new projects start with resources from the AWS provider.
aws-native.iot.CertificateProvider
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.
Create CertificateProvider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CertificateProvider(name: string, args: CertificateProviderArgs, opts?: CustomResourceOptions);
@overload
def CertificateProvider(resource_name: str,
args: CertificateProviderArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CertificateProvider(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_default_for_operations: Optional[Sequence[CertificateProviderOperation]] = None,
lambda_function_arn: Optional[str] = None,
certificate_provider_name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewCertificateProvider(ctx *Context, name string, args CertificateProviderArgs, opts ...ResourceOption) (*CertificateProvider, error)
public CertificateProvider(string name, CertificateProviderArgs args, CustomResourceOptions? opts = null)
public CertificateProvider(String name, CertificateProviderArgs args)
public CertificateProvider(String name, CertificateProviderArgs args, CustomResourceOptions options)
type: aws-native:iot:CertificateProvider
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CertificateProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CertificateProviderArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CertificateProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CertificateProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CertificateProviderArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CertificateProvider Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CertificateProvider resource accepts the following input properties:
- 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
. - Lambda
Function stringArn - The ARN of the Lambda function.
- Certificate
Provider stringName - The name of the certificate provider.
- List<Pulumi.
Aws Native. Inputs. 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
. - Lambda
Function stringArn - The ARN of the Lambda function.
- Certificate
Provider stringName - The name of the certificate provider.
- Tag
Args - 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
. - lambda
Function StringArn - The ARN of the Lambda function.
- certificate
Provider StringName - The name of the certificate provider.
- 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
. - lambda
Function stringArn - The ARN of the Lambda function.
- certificate
Provider stringName - The name of the certificate provider.
- 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
. - lambda_
function_ strarn - The ARN of the Lambda function.
- certificate_
provider_ strname - The name of the certificate provider.
- Sequence[Tag
Args] - 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
. - lambda
Function StringArn - The ARN of the Lambda function.
- certificate
Provider StringName - The name of the certificate provider.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the CertificateProvider resource produces the following output properties:
- 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
- Id string
- The provider-assigned unique ID for this managed resource.
- 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
- Id string
- The provider-assigned unique ID for this managed resource.
- 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
- id String
- The provider-assigned unique ID for this managed resource.
- 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
- id string
- The provider-assigned unique ID for this managed resource.
- 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
- id str
- The provider-assigned unique ID for this managed resource.
- 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
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
CertificateProviderOperation, CertificateProviderOperationArgs
- Create
Certificate From Csr - CreateCertificateFromCsr
- Certificate
Provider Operation Create Certificate From Csr - CreateCertificateFromCsr
- Create
Certificate From Csr - CreateCertificateFromCsr
- Create
Certificate From Csr - CreateCertificateFromCsr
- CREATE_CERTIFICATE_FROM_CSR
- CreateCertificateFromCsr
- "Create
Certificate From Csr" - CreateCertificateFromCsr
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.