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:
- Ca
Certificate 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".
- Auto
Registration 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".
- Certificate
Mode 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".
- Registration
Config Pulumi.Aws Native. Io T. Inputs. Ca Certificate Registration Config - Information about the registration configuration.
- Remove
Auto boolRegistration - If true, removes auto registration.
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Verification
Certificate stringPem - The private key verification certificate.
- Ca
Certificate stringPem - The certificate data in PEM format.
- Status
Ca
Certificate 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.
- Tag
Args - An array of key-value pairs to apply to this resource.
- Verification
Certificate stringPem - The private key verification certificate.
- ca
Certificate StringPem - The certificate data in PEM format.
- status
Ca
Certificate 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 - Information about the registration configuration.
- remove
Auto BooleanRegistration - If true, removes auto registration.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- verification
Certificate StringPem - The private key verification certificate.
- ca
Certificate stringPem - The certificate data in PEM format.
- status
Ca
Certificate 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 - Information about the registration configuration.
- remove
Auto booleanRegistration - If true, removes auto registration.
- Tag[]
- An array of key-value pairs to apply to this resource.
- verification
Certificate stringPem - The private key verification certificate.
- ca_
certificate_ strpem - The certificate data in PEM format.
- status
Ca
Certificate 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[Tag
Args] - An array of key-value pairs to apply to this resource.
- verification_
certificate_ strpem - The private key verification certificate.
- ca
Certificate StringPem - The certificate data in PEM format.
- status "ACTIVE" | "INACTIVE"
The status of the CA certificate.
Valid values are "ACTIVE" and "INACTIVE".
- auto
Registration "ENABLE" | "DISABLE"Status - Whether the CA certificate is configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE".
- certificate
Mode "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".
- registration
Config Property Map - Information about the registration configuration.
- remove
Auto BooleanRegistration - If true, removes auto registration.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
- verification
Certificate 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
- Aws
Id 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
- Aws
Id 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
- aws
Id 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
- aws
Id 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
- aws
Id String - The CA certificate ID.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
CaCertificateAutoRegistrationStatus, CaCertificateAutoRegistrationStatusArgs
- Enable
- ENABLE
- Disable
- DISABLE
- Ca
Certificate Auto Registration Status Enable - ENABLE
- Ca
Certificate 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
- Sni
Only - SNI_ONLY
- Ca
Certificate Certificate Mode Default - DEFAULT
- Ca
Certificate Certificate Mode Sni Only - SNI_ONLY
- Default
- DEFAULT
- Sni
Only - SNI_ONLY
- Default
- DEFAULT
- Sni
Only - SNI_ONLY
- DEFAULT
- DEFAULT
- SNI_ONLY
- SNI_ONLY
- "DEFAULT"
- DEFAULT
- "SNI_ONLY"
- SNI_ONLY
CaCertificateRegistrationConfig, CaCertificateRegistrationConfigArgs
- Role
Arn string - The ARN of the role.
- Template
Body string - The template body.
- Template
Name string - The name of the provisioning template.
- Role
Arn string - The ARN of the role.
- Template
Body string - The template body.
- Template
Name string - The name of the provisioning template.
- role
Arn String - The ARN of the role.
- template
Body String - The template body.
- template
Name String - The name of the provisioning template.
- role
Arn string - The ARN of the role.
- template
Body string - The template body.
- template
Name 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.
- role
Arn String - The ARN of the role.
- template
Body String - The template body.
- template
Name String - The name of the provisioning template.
CaCertificateStatus, CaCertificateStatusArgs
- Active
- ACTIVE
- Inactive
- INACTIVE
- Ca
Certificate Status Active - ACTIVE
- Ca
Certificate 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.