Resource Type definition for AWS::Transfer::Certificate
Create Certificate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@overload
def Certificate(resource_name: str,
args: CertificateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Certificate(resource_name: str,
opts: Optional[ResourceOptions] = None,
certificate: Optional[str] = None,
usage: Optional[CertificateUsage] = None,
active_date: Optional[str] = None,
certificate_chain: Optional[str] = None,
description: Optional[str] = None,
inactive_date: Optional[str] = None,
private_key: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
type: aws-native:transfer:Certificate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_transfer_certificate" "name" {
# resource properties
}
Parameters
- 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.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Certificate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Certificate resource accepts the following input properties:
- Certificate
string
- Specifies the certificate body to be imported.
- Usage
CertificateUsage
- Specifies the usage type for the certificate.
- ActiveDate
string
- Specifies the active date for the certificate.
- CertificateChain
string
- Specifies the certificate chain to be imported.
- Description
string
- A textual description for the certificate.
- InactiveDate
string
- Specifies the inactive date for the certificate.
- PrivateKey
string
- Specifies the private key for the certificate.
- Tags
TagArgs
- Key-value pairs that can be used to group and search for certificates. Tags are metadata attached to certificates for any purpose.
- certificate
String
- Specifies the certificate body to be imported.
- usage
CertificateUsage
- Specifies the usage type for the certificate.
- activeDate
String
- Specifies the active date for the certificate.
- certificateChain
String
- Specifies the certificate chain to be imported.
- description
String
- A textual description for the certificate.
- inactiveDate
String
- Specifies the inactive date for the certificate.
- privateKey
String
- Specifies the private key for the certificate.
- tags
List<Tag>
- Key-value pairs that can be used to group and search for certificates. Tags are metadata attached to certificates for any purpose.
- certificate
string
- Specifies the certificate body to be imported.
- usage
CertificateUsage
- Specifies the usage type for the certificate.
- activeDate
string
- Specifies the active date for the certificate.
- certificateChain
string
- Specifies the certificate chain to be imported.
- description
string
- A textual description for the certificate.
- inactiveDate
string
- Specifies the inactive date for the certificate.
- privateKey
string
- Specifies the private key for the certificate.
- tags
Tag[]
- Key-value pairs that can be used to group and search for certificates. Tags are metadata attached to certificates for any purpose.
- certificate
str
- Specifies the certificate body to be imported.
- usage
CertificateUsage
- Specifies the usage type for the certificate.
- active_date
str
- Specifies the active date for the certificate.
- certificate_chain
str
- Specifies the certificate chain to be imported.
- description
str
- A textual description for the certificate.
- inactive_date
str
- Specifies the inactive date for the certificate.
- private_key
str
- Specifies the private key for the certificate.
- tags
Sequence[TagArgs]
- Key-value pairs that can be used to group and search for certificates. Tags are metadata attached to certificates for any purpose.
Outputs
All input properties are implicitly available as output properties. Additionally, the Certificate resource produces the following output properties:
- Arn
string
- Specifies the unique Amazon Resource Name (ARN) for the agreement.
- CertificateId
string
- A unique identifier for the certificate.
- Id
string
- The provider-assigned unique ID for this managed resource.
- NotAfterDate
string
- Specifies the not after date for the certificate.
- NotBeforeDate
string
- Specifies the not before date for the certificate.
- Serial
string
- Specifies Certificate's serial.
- Status
CertificateStatus
- A status description for the certificate.
- Type
CertificateType
- Describing the type of certificate. With or without a private key.
- arn
String
- Specifies the unique Amazon Resource Name (ARN) for the agreement.
- certificateId
String
- A unique identifier for the certificate.
- id
String
- The provider-assigned unique ID for this managed resource.
- notAfterDate
String
- Specifies the not after date for the certificate.
- notBeforeDate
String
- Specifies the not before date for the certificate.
- serial
String
- Specifies Certificate's serial.
- status
CertificateStatus
- A status description for the certificate.
- type
CertificateType
- Describing the type of certificate. With or without a private key.
- arn
string
- Specifies the unique Amazon Resource Name (ARN) for the agreement.
- certificateId
string
- A unique identifier for the certificate.
- id
string
- The provider-assigned unique ID for this managed resource.
- notAfterDate
string
- Specifies the not after date for the certificate.
- notBeforeDate
string
- Specifies the not before date for the certificate.
- serial
string
- Specifies Certificate's serial.
- status
CertificateStatus
- A status description for the certificate.
- type
CertificateType
- Describing the type of certificate. With or without a private key.
- arn
str
- Specifies the unique Amazon Resource Name (ARN) for the agreement.
- certificate_id
str
- A unique identifier for the certificate.
- id
str
- The provider-assigned unique ID for this managed resource.
- not_after_date
str
- Specifies the not after date for the certificate.
- not_before_date
str
- Specifies the not before date for the certificate.
- serial
str
- Specifies Certificate's serial.
- status
CertificateStatus
- A status description for the certificate.
- type
CertificateType
- Describing the type of certificate. With or without a private key.
Look up Existing Certificate Resource
Get an existing Certificate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static Certificate get(String name, Output<String> id, CustomResourceOptions options)
resources: existingCertificate: type: aws-native:transfer:Certificate get: id: ${id}
import {
to = aws-native_transfer_certificate.example
id = "${id}"
}
- name
string
- The unique name of the resulting resource.
- id
Input<ID>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resulting resource.
- id
str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id
IDInput
- The unique provider ID of the resource to look up.
- state
CertificateState
- Pass nil. This resource has no state arguments.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resulting resource.
- id
Input<string>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resulting resource.
- id
Output<String>
- The unique provider ID of the resource to look up.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
CertificateStatus
A status description for the certificate.
| Name | Value |
|---|
| Active | ACTIVE |
| Pending | PENDING |
| Inactive | INACTIVE |
| Name | Value |
|---|
| CertificateStatusActive | ACTIVE |
| CertificateStatusPending | PENDING |
| CertificateStatusInactive | INACTIVE |
| Value |
|---|
ACTIVE |
PENDING |
INACTIVE |
| Name | Value |
|---|
| Active | ACTIVE |
| Pending | PENDING |
| Inactive | INACTIVE |
| Name | Value |
|---|
| Active | ACTIVE |
| Pending | PENDING |
| Inactive | INACTIVE |
| Name | Value |
|---|
| ACTIVE | ACTIVE |
| PENDING | PENDING |
| INACTIVE | INACTIVE |
| Value |
|---|
ACTIVE |
PENDING |
INACTIVE |
CertificateType
Describing the type of certificate. With or without a private key.
| Name | Value |
|---|
| Certificate | CERTIFICATE |
| CertificateWithPrivateKey | CERTIFICATE_WITH_PRIVATE_KEY |
| Name | Value |
|---|
| CertificateTypeCertificate | CERTIFICATE |
| CertificateTypeCertificateWithPrivateKey | CERTIFICATE_WITH_PRIVATE_KEY |
| Value |
|---|
CERTIFICATE |
CERTIFICATE_WITH_PRIVATE_KEY |
| Name | Value |
|---|
| Certificate | CERTIFICATE |
| CertificateWithPrivateKey | CERTIFICATE_WITH_PRIVATE_KEY |
| Name | Value |
|---|
| Certificate | CERTIFICATE |
| CertificateWithPrivateKey | CERTIFICATE_WITH_PRIVATE_KEY |
| Name | Value |
|---|
| CERTIFICATE | CERTIFICATE |
| CERTIFICATE_WITH_PRIVATE_KEY | CERTIFICATE_WITH_PRIVATE_KEY |
| Value |
|---|
CERTIFICATE |
CERTIFICATE_WITH_PRIVATE_KEY |
CertificateUsage
Specifies the usage type for the certificate.
| Name | Value |
|---|
| Signing | SIGNING |
| Encryption | ENCRYPTION |
| Tls | TLS |
| Name | Value |
|---|
| CertificateUsageSigning | SIGNING |
| CertificateUsageEncryption | ENCRYPTION |
| CertificateUsageTls | TLS |
| Value |
|---|
SIGNING |
ENCRYPTION |
TLS |
| Name | Value |
|---|
| Signing | SIGNING |
| Encryption | ENCRYPTION |
| Tls | TLS |
| Name | Value |
|---|
| Signing | SIGNING |
| Encryption | ENCRYPTION |
| Tls | TLS |
| Name | Value |
|---|
| SIGNING | SIGNING |
| ENCRYPTION | ENCRYPTION |
| TLS | TLS |
| Value |
|---|
SIGNING |
ENCRYPTION |
TLS |
Tag, TagArgs
A set of tags to apply to the resource.
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- Key
string
- The key name of the tag
- Value
string
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
- key
string
- The key name of the tag
- value
string
- The value of the tag
- key
str
- The key name of the tag
- value
str
- The value of the tag
- key
String
- The key name of the tag
- value
String
- The value of the tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0