We recommend new projects start with resources from the AWS provider.
aws-native.iot.getCaCertificate
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Registers a CA Certificate in IoT.
Using getCaCertificate
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 getCaCertificate(args: GetCaCertificateArgs, opts?: InvokeOptions): Promise<GetCaCertificateResult>
function getCaCertificateOutput(args: GetCaCertificateOutputArgs, opts?: InvokeOptions): Output<GetCaCertificateResult>def get_ca_certificate(id: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetCaCertificateResult
def get_ca_certificate_output(id: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetCaCertificateResult]func LookupCaCertificate(ctx *Context, args *LookupCaCertificateArgs, opts ...InvokeOption) (*LookupCaCertificateResult, error)
func LookupCaCertificateOutput(ctx *Context, args *LookupCaCertificateOutputArgs, opts ...InvokeOption) LookupCaCertificateResultOutput> Note: This function is named LookupCaCertificate in the Go SDK.
public static class GetCaCertificate 
{
    public static Task<GetCaCertificateResult> InvokeAsync(GetCaCertificateArgs args, InvokeOptions? opts = null)
    public static Output<GetCaCertificateResult> Invoke(GetCaCertificateInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCaCertificateResult> getCaCertificate(GetCaCertificateArgs args, InvokeOptions options)
public static Output<GetCaCertificateResult> getCaCertificate(GetCaCertificateArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:iot:getCaCertificate
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Id string
- The CA certificate ID.
- Id string
- The CA certificate ID.
- id String
- The CA certificate ID.
- id string
- The CA certificate ID.
- id str
- The CA certificate ID.
- id String
- The CA certificate ID.
getCaCertificate Result
The following output properties are available:
- 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
- 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".
- Id string
- The CA certificate ID.
- RegistrationConfig Pulumi.Aws Native. Io T. Outputs. Ca Certificate Registration Config 
- Information about the registration configuration.
- Status
Pulumi.Aws Native. Io T. Ca Certificate Status 
- The status of the CA certificate. - Valid values are "ACTIVE" and "INACTIVE". 
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- An array of key-value pairs to apply to this 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
- AutoRegistration CaStatus Certificate Auto Registration Status 
- Whether the CA certificate is configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE".
- Id string
- The CA certificate ID.
- RegistrationConfig CaCertificate Registration Config 
- Information about the registration configuration.
- Status
CaCertificate Status 
- The status of the CA certificate. - Valid values are "ACTIVE" and "INACTIVE". 
- Tag
- An array of key-value pairs to apply to this 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
- autoRegistration CaStatus Certificate Auto Registration Status 
- Whether the CA certificate is configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE".
- id String
- The CA certificate ID.
- registrationConfig CaCertificate Registration Config 
- Information about the registration configuration.
- status
CaCertificate Status 
- The status of the CA certificate. - Valid values are "ACTIVE" and "INACTIVE". 
- List<Tag>
- An array of key-value pairs to apply to this 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
- autoRegistration CaStatus Certificate Auto Registration Status 
- Whether the CA certificate is configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE".
- id string
- The CA certificate ID.
- registrationConfig CaCertificate Registration Config 
- Information about the registration configuration.
- status
CaCertificate Status 
- The status of the CA certificate. - Valid values are "ACTIVE" and "INACTIVE". 
- Tag[]
- An array of key-value pairs to apply to this 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
- 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".
- id str
- The CA certificate ID.
- registration_config CaCertificate Registration Config 
- Information about the registration configuration.
- status
CaCertificate Status 
- The status of the CA certificate. - Valid values are "ACTIVE" and "INACTIVE". 
- Sequence[root_Tag]
- An array of key-value pairs to apply to this 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
- autoRegistration "ENABLE" | "DISABLE"Status 
- Whether the CA certificate is configured for auto registration of device certificates. Valid values are "ENABLE" and "DISABLE".
- id String
- The CA certificate ID.
- registrationConfig Property Map
- Information about the registration configuration.
- status "ACTIVE" | "INACTIVE"
- The status of the CA certificate. - Valid values are "ACTIVE" and "INACTIVE". 
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Supporting Types
CaCertificateAutoRegistrationStatus    
CaCertificateRegistrationConfig   
- 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  
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.