We recommend new projects start with resources from the AWS provider.
aws-native.lightsail.Certificate
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::Lightsail::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,
domain_name: Optional[str] = None,
certificate_name: Optional[str] = None,
subject_alternative_names: Optional[Sequence[str]] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = 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:lightsail: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.
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
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:
- Domain
Name string - The domain name (e.g., example.com ) for the certificate.
- Certificate
Name string - The name for the certificate.
- Subject
Alternative List<string>Names - An array of strings that specify the alternate domains (e.g., example2.com) and subdomains (e.g., blog.example.com) for the certificate.
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Domain
Name string - The domain name (e.g., example.com ) for the certificate.
- Certificate
Name string - The name for the certificate.
- Subject
Alternative []stringNames - An array of strings that specify the alternate domains (e.g., example2.com) and subdomains (e.g., blog.example.com) for the certificate.
- Tag
Args - An array of key-value pairs to apply to this resource.
- domain
Name String - The domain name (e.g., example.com ) for the certificate.
- certificate
Name String - The name for the certificate.
- subject
Alternative List<String>Names - An array of strings that specify the alternate domains (e.g., example2.com) and subdomains (e.g., blog.example.com) for the certificate.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- domain
Name string - The domain name (e.g., example.com ) for the certificate.
- certificate
Name string - The name for the certificate.
- subject
Alternative string[]Names - An array of strings that specify the alternate domains (e.g., example2.com) and subdomains (e.g., blog.example.com) for the certificate.
- Tag[]
- An array of key-value pairs to apply to this resource.
- domain_
name str - The domain name (e.g., example.com ) for the certificate.
- certificate_
name str - The name for the certificate.
- subject_
alternative_ Sequence[str]names - An array of strings that specify the alternate domains (e.g., example2.com) and subdomains (e.g., blog.example.com) for the certificate.
- Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- domain
Name String - The domain name (e.g., example.com ) for the certificate.
- certificate
Name String - The name for the certificate.
- subject
Alternative List<String>Names - An array of strings that specify the alternate domains (e.g., example2.com) and subdomains (e.g., blog.example.com) for the certificate.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Certificate resource produces the following output properties:
- Certificate
Arn string - The Amazon Resource Name (ARN) of the certificate.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The validation status of the certificate.
- Certificate
Arn string - The Amazon Resource Name (ARN) of the certificate.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The validation status of the certificate.
- certificate
Arn String - The Amazon Resource Name (ARN) of the certificate.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The validation status of the certificate.
- certificate
Arn string - The Amazon Resource Name (ARN) of the certificate.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- The validation status of the certificate.
- certificate_
arn str - The Amazon Resource Name (ARN) of the certificate.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- The validation status of the certificate.
- certificate
Arn String - The Amazon Resource Name (ARN) of the certificate.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The validation status of the certificate.
Supporting Types
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.