We recommend new projects start with resources from the AWS provider.
aws-native.iot.CaCertificate
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Registers a CA Certificate in IoT.
Create CaCertificate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CaCertificate(name: string, args: CaCertificateArgs, opts?: CustomResourceOptions);@overload
def CaCertificate(resource_name: str,
                  args: CaCertificateArgs,
                  opts: Optional[ResourceOptions] = None)
@overload
def CaCertificate(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  ca_certificate_pem: Optional[str] = None,
                  status: Optional[CaCertificateStatus] = None,
                  auto_registration_status: Optional[CaCertificateAutoRegistrationStatus] = None,
                  certificate_mode: Optional[CaCertificateCertificateMode] = None,
                  registration_config: Optional[CaCertificateRegistrationConfigArgs] = None,
                  remove_auto_registration: Optional[bool] = None,
                  tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
                  verification_certificate_pem: Optional[str] = None)func NewCaCertificate(ctx *Context, name string, args CaCertificateArgs, opts ...ResourceOption) (*CaCertificate, error)public CaCertificate(string name, CaCertificateArgs args, CustomResourceOptions? opts = null)
public CaCertificate(String name, CaCertificateArgs args)
public CaCertificate(String name, CaCertificateArgs args, CustomResourceOptions options)
type: aws-native:iot:CaCertificate
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 CaCertificateArgs
- 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 CaCertificateArgs
- 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 CaCertificateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CaCertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CaCertificateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CaCertificate 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 CaCertificate resource accepts the following input properties:
- CaCertificate stringPem 
- The certificate data in PEM format.
- Status
Pulumi.Aws Native. Io T. Ca Certificate Status 
- The status of the CA certificate. - Valid values are "ACTIVE" and "INACTIVE". 
- AutoRegistration Pulumi.Status Aws Native. Io T. Ca Certificate Auto Registration Status 
- Whether the CA certificate is configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE".
- CertificateMode Pulumi.Aws Native. Io T. Ca Certificate Certificate Mode 
- The mode of the CA. - All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode . - Valid values are "DEFAULT" and "SNI_ONLY". 
- RegistrationConfig Pulumi.Aws Native. Io T. Inputs. Ca Certificate Registration Config 
- Information about the registration configuration.
- RemoveAuto boolRegistration 
- If true, removes auto registration.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- An array of key-value pairs to apply to this resource.
- VerificationCertificate stringPem 
- The private key verification certificate.
- CaCertificate stringPem 
- The certificate data in PEM format.
- Status
CaCertificate Status 
- The status of the CA certificate. - Valid values are "ACTIVE" and "INACTIVE". 
- AutoRegistration CaStatus Certificate Auto Registration Status 
- Whether the CA certificate is configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE".
- CertificateMode CaCertificate Certificate Mode 
- The mode of the CA. - All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode . - Valid values are "DEFAULT" and "SNI_ONLY". 
- RegistrationConfig CaCertificate Registration Config Args 
- Information about the registration configuration.
- RemoveAuto boolRegistration 
- If true, removes auto registration.
- 
TagArgs 
- An array of key-value pairs to apply to this resource.
- VerificationCertificate stringPem 
- The private key verification certificate.
- caCertificate StringPem 
- The certificate data in PEM format.
- status
CaCertificate Status 
- The status of the CA certificate. - Valid values are "ACTIVE" and "INACTIVE". 
- autoRegistration CaStatus Certificate Auto Registration Status 
- Whether the CA certificate is configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE".
- certificateMode CaCertificate Certificate Mode 
- The mode of the CA. - All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode . - Valid values are "DEFAULT" and "SNI_ONLY". 
- registrationConfig CaCertificate Registration Config 
- Information about the registration configuration.
- removeAuto BooleanRegistration 
- If true, removes auto registration.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- verificationCertificate StringPem 
- The private key verification certificate.
- caCertificate stringPem 
- The certificate data in PEM format.
- status
CaCertificate Status 
- The status of the CA certificate. - Valid values are "ACTIVE" and "INACTIVE". 
- autoRegistration CaStatus Certificate Auto Registration Status 
- Whether the CA certificate is configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE".
- certificateMode CaCertificate Certificate Mode 
- The mode of the CA. - All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode . - Valid values are "DEFAULT" and "SNI_ONLY". 
- registrationConfig CaCertificate Registration Config 
- Information about the registration configuration.
- removeAuto booleanRegistration 
- If true, removes auto registration.
- Tag[]
- An array of key-value pairs to apply to this resource.
- verificationCertificate stringPem 
- The private key verification certificate.
- ca_certificate_ strpem 
- The certificate data in PEM format.
- status
CaCertificate Status 
- The status of the CA certificate. - Valid values are "ACTIVE" and "INACTIVE". 
- auto_registration_ Castatus Certificate Auto Registration Status 
- Whether the CA certificate is configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE".
- certificate_mode CaCertificate Certificate Mode 
- The mode of the CA. - All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode . - Valid values are "DEFAULT" and "SNI_ONLY". 
- registration_config CaCertificate Registration Config Args 
- Information about the registration configuration.
- remove_auto_ boolregistration 
- If true, removes auto registration.
- 
Sequence[TagArgs] 
- An array of key-value pairs to apply to this resource.
- verification_certificate_ strpem 
- The private key verification certificate.
- caCertificate StringPem 
- The certificate data in PEM format.
- status "ACTIVE" | "INACTIVE"
- The status of the CA certificate. - Valid values are "ACTIVE" and "INACTIVE". 
- autoRegistration "ENABLE" | "DISABLE"Status 
- Whether the CA certificate is configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE".
- certificateMode "DEFAULT" | "SNI_ONLY"
- The mode of the CA. - All the device certificates that are registered using this CA will be registered in the same mode as the CA. For more information about certificate mode for device certificates, see certificate mode . - Valid values are "DEFAULT" and "SNI_ONLY". 
- registrationConfig Property Map
- Information about the registration configuration.
- removeAuto BooleanRegistration 
- If true, removes auto registration.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
- verificationCertificate StringPem 
- The private key verification certificate.
Outputs
All input properties are implicitly available as output properties. Additionally, the CaCertificate resource produces the following output properties:
- Arn string
- Returns the Amazon Resource Name (ARN) for the CA certificate. For example: - { "Fn::GetAtt": ["MyCACertificate", "Arn"] }- A value similar to the following is returned: - arn:aws:iot:us-east-1:123456789012:cacert/a6be6b84559801927e35a8f901fae08b5971d78d1562e29504ff9663b276a5f5
- AwsId string
- The CA certificate ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Arn string
- Returns the Amazon Resource Name (ARN) for the CA certificate. For example: - { "Fn::GetAtt": ["MyCACertificate", "Arn"] }- A value similar to the following is returned: - arn:aws:iot:us-east-1:123456789012:cacert/a6be6b84559801927e35a8f901fae08b5971d78d1562e29504ff9663b276a5f5
- AwsId string
- The CA certificate ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- arn String
- Returns the Amazon Resource Name (ARN) for the CA certificate. For example: - { "Fn::GetAtt": ["MyCACertificate", "Arn"] }- A value similar to the following is returned: - arn:aws:iot:us-east-1:123456789012:cacert/a6be6b84559801927e35a8f901fae08b5971d78d1562e29504ff9663b276a5f5
- awsId String
- The CA certificate ID.
- id String
- The provider-assigned unique ID for this managed resource.
- arn string
- Returns the Amazon Resource Name (ARN) for the CA certificate. For example: - { "Fn::GetAtt": ["MyCACertificate", "Arn"] }- A value similar to the following is returned: - arn:aws:iot:us-east-1:123456789012:cacert/a6be6b84559801927e35a8f901fae08b5971d78d1562e29504ff9663b276a5f5
- awsId string
- The CA certificate ID.
- id string
- The provider-assigned unique ID for this managed resource.
- arn str
- Returns the Amazon Resource Name (ARN) for the CA certificate. For example: - { "Fn::GetAtt": ["MyCACertificate", "Arn"] }- A value similar to the following is returned: - arn:aws:iot:us-east-1:123456789012:cacert/a6be6b84559801927e35a8f901fae08b5971d78d1562e29504ff9663b276a5f5
- aws_id str
- The CA certificate ID.
- id str
- The provider-assigned unique ID for this managed resource.
- arn String
- Returns the Amazon Resource Name (ARN) for the CA certificate. For example: - { "Fn::GetAtt": ["MyCACertificate", "Arn"] }- A value similar to the following is returned: - arn:aws:iot:us-east-1:123456789012:cacert/a6be6b84559801927e35a8f901fae08b5971d78d1562e29504ff9663b276a5f5
- awsId String
- The CA certificate ID.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
CaCertificateAutoRegistrationStatus, CaCertificateAutoRegistrationStatusArgs          
- Enable
- ENABLE
- Disable
- DISABLE
- CaCertificate Auto Registration Status Enable 
- ENABLE
- CaCertificate Auto Registration Status Disable 
- DISABLE
- Enable
- ENABLE
- Disable
- DISABLE
- Enable
- ENABLE
- Disable
- DISABLE
- ENABLE
- ENABLE
- DISABLE
- DISABLE
- "ENABLE"
- ENABLE
- "DISABLE"
- DISABLE
CaCertificateCertificateMode, CaCertificateCertificateModeArgs        
- Default
- DEFAULT
- SniOnly 
- SNI_ONLY
- CaCertificate Certificate Mode Default 
- DEFAULT
- CaCertificate Certificate Mode Sni Only 
- SNI_ONLY
- Default
- DEFAULT
- SniOnly 
- SNI_ONLY
- Default
- DEFAULT
- SniOnly 
- SNI_ONLY
- DEFAULT
- DEFAULT
- SNI_ONLY
- SNI_ONLY
- "DEFAULT"
- DEFAULT
- "SNI_ONLY"
- SNI_ONLY
CaCertificateRegistrationConfig, CaCertificateRegistrationConfigArgs        
- RoleArn string
- The ARN of the role.
- TemplateBody string
- The template body.
- TemplateName string
- The name of the provisioning template.
- RoleArn string
- The ARN of the role.
- TemplateBody string
- The template body.
- TemplateName string
- The name of the provisioning template.
- roleArn String
- The ARN of the role.
- templateBody String
- The template body.
- templateName String
- The name of the provisioning template.
- roleArn string
- The ARN of the role.
- templateBody string
- The template body.
- templateName string
- The name of the provisioning template.
- role_arn str
- The ARN of the role.
- template_body str
- The template body.
- template_name str
- The name of the provisioning template.
- roleArn String
- The ARN of the role.
- templateBody String
- The template body.
- templateName String
- The name of the provisioning template.
CaCertificateStatus, CaCertificateStatusArgs      
- Active
- ACTIVE
- Inactive
- INACTIVE
- CaCertificate Status Active 
- ACTIVE
- CaCertificate Status Inactive 
- INACTIVE
- Active
- ACTIVE
- Inactive
- INACTIVE
- Active
- ACTIVE
- Inactive
- INACTIVE
- ACTIVE
- ACTIVE
- INACTIVE
- INACTIVE
- "ACTIVE"
- ACTIVE
- "INACTIVE"
- INACTIVE
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.