AWS Native is in preview. AWS Classic is fully supported.
aws-native.iot.getCaCertificate
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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)
// Output-based functions aren't available in Java yet
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- 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".
 - Id string
 - The CA certificate ID.
 - Registration
Config 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- 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 string
 - The CA certificate ID.
 - Registration
Config CaCertificate Registration Config  - Information about the registration configuration.
 - Status
Ca
Certificate 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- 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 String
 - The CA certificate ID.
 - registration
Config CaCertificate Registration Config  - Information about the registration configuration.
 - status
Ca
Certificate 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- 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 string
 - The CA certificate ID.
 - registration
Config CaCertificate Registration Config  - Information about the registration configuration.
 - status
Ca
Certificate 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
Ca
Certificate 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- auto
Registration "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.
 - registration
Config 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   
- 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  
Tag
Package Details
- Repository
 - AWS Native pulumi/pulumi-aws-native
 - License
 - Apache-2.0
 
AWS Native is in preview. AWS Classic is fully supported.