AWS Native is in preview. AWS Classic is fully supported.
aws-native.iot.Certificate
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
Use the AWS::IoT::Certificate resource to declare an AWS IoT X.509 certificate.
Create Certificate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Certificate(name: string, args: CertificateArgs, opts?: CustomResourceOptions);
@overload
def Certificate(resource_name: str,
args: CertificateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Certificate(resource_name: str,
opts: Optional[ResourceOptions] = None,
status: Optional[CertificateStatus] = None,
ca_certificate_pem: Optional[str] = None,
certificate_mode: Optional[CertificateMode] = None,
certificate_pem: Optional[str] = None,
certificate_signing_request: Optional[str] = None)
func NewCertificate(ctx *Context, name string, args CertificateArgs, opts ...ResourceOption) (*Certificate, error)
public Certificate(string name, CertificateArgs args, CustomResourceOptions? opts = null)
public Certificate(String name, CertificateArgs args)
public Certificate(String name, CertificateArgs args, CustomResourceOptions options)
type: aws-native:iot:Certificate
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 CertificateArgs
- 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 CertificateArgs
- 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 CertificateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CertificateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CertificateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Example
The following reference example uses placeholder values for all input properties.
Coming soon!
Coming soon!
Coming soon!
Coming soon!
const aws_nativeCertificateResource = new aws_native.iot.Certificate("aws-nativeCertificateResource", {
status: aws_native.iot.CertificateStatus.Active,
caCertificatePem: "string",
certificateMode: aws_native.iot.CertificateMode.Default,
certificatePem: "string",
certificateSigningRequest: "string",
});
Coming soon!
Certificate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Certificate resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the Certificate resource produces the following output properties:
Supporting Types
CertificateMode, CertificateModeArgs
- Default
- DEFAULT
- Sni
Only - SNI_ONLY
- Certificate
Mode Default - DEFAULT
- 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
CertificateStatus, CertificateStatusArgs
- Active
- ACTIVE
- Inactive
- INACTIVE
- Revoked
- REVOKED
- Pending
Transfer - PENDING_TRANSFER
- Pending
Activation - PENDING_ACTIVATION
- Certificate
Status Active - ACTIVE
- Certificate
Status Inactive - INACTIVE
- Certificate
Status Revoked - REVOKED
- Certificate
Status Pending Transfer - PENDING_TRANSFER
- Certificate
Status Pending Activation - PENDING_ACTIVATION
- Active
- ACTIVE
- Inactive
- INACTIVE
- Revoked
- REVOKED
- Pending
Transfer - PENDING_TRANSFER
- Pending
Activation - PENDING_ACTIVATION
- Active
- ACTIVE
- Inactive
- INACTIVE
- Revoked
- REVOKED
- Pending
Transfer - PENDING_TRANSFER
- Pending
Activation - PENDING_ACTIVATION
- ACTIVE
- ACTIVE
- INACTIVE
- INACTIVE
- REVOKED
- REVOKED
- PENDING_TRANSFER
- PENDING_TRANSFER
- PENDING_ACTIVATION
- PENDING_ACTIVATION
- "ACTIVE"
- ACTIVE
- "INACTIVE"
- INACTIVE
- "REVOKED"
- REVOKED
- "PENDING_TRANSFER"
- PENDING_TRANSFER
- "PENDING_ACTIVATION"
- PENDING_ACTIVATION
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.