1. Packages
  2. AWS Native
  3. API Docs
  4. lightsail
  5. Certificate

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.lightsail.Certificate

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

    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

    The Certificate resource accepts the following input properties:

    DomainName string
    The domain name (e.g., example.com ) for the certificate.
    CertificateName string
    The name for the certificate.
    SubjectAlternativeNames List<string>
    An array of strings that specify the alternate domains (e.g., example2.com) and subdomains (e.g., blog.example.com) for the certificate.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    An array of key-value pairs to apply to this resource.
    DomainName string
    The domain name (e.g., example.com ) for the certificate.
    CertificateName string
    The name for the certificate.
    SubjectAlternativeNames []string
    An array of strings that specify the alternate domains (e.g., example2.com) and subdomains (e.g., blog.example.com) for the certificate.
    Tags TagArgs
    An array of key-value pairs to apply to this resource.
    domainName String
    The domain name (e.g., example.com ) for the certificate.
    certificateName String
    The name for the certificate.
    subjectAlternativeNames List<String>
    An array of strings that specify the alternate domains (e.g., example2.com) and subdomains (e.g., blog.example.com) for the certificate.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    domainName string
    The domain name (e.g., example.com ) for the certificate.
    certificateName string
    The name for the certificate.
    subjectAlternativeNames string[]
    An array of strings that specify the alternate domains (e.g., example2.com) and subdomains (e.g., blog.example.com) for the certificate.
    tags 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_names Sequence[str]
    An array of strings that specify the alternate domains (e.g., example2.com) and subdomains (e.g., blog.example.com) for the certificate.
    tags Sequence[TagArgs]
    An array of key-value pairs to apply to this resource.
    domainName String
    The domain name (e.g., example.com ) for the certificate.
    certificateName String
    The name for the certificate.
    subjectAlternativeNames List<String>
    An array of strings that specify the alternate domains (e.g., example2.com) and subdomains (e.g., blog.example.com) for the certificate.
    tags 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:

    CertificateArn 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.
    CertificateArn 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.
    certificateArn 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.
    certificateArn 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.
    certificateArn 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

    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
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi