WebsiteCertificateAuthorityAssociation
Example Usage
using System.IO;
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.WorkLink.Fleet("example", new Aws.WorkLink.FleetArgs
{
});
var test = new Aws.WorkLink.WebsiteCertificateAuthorityAssociation("test", new Aws.WorkLink.WebsiteCertificateAuthorityAssociationArgs
{
Certificate = File.ReadAllText("certificate.pem"),
FleetArn = aws_worklink_fleet.Test.Arn,
});
}
}
Coming soon!
import pulumi
import pulumi_aws as aws
example = aws.worklink.Fleet("example")
test = aws.worklink.WebsiteCertificateAuthorityAssociation("test",
certificate=(lambda path: open(path).read())("certificate.pem"),
fleet_arn=aws_worklink_fleet["test"]["arn"])import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
import * as fs from "fs";
const example = new aws.worklink.Fleet("example", {});
const test = new aws.worklink.WebsiteCertificateAuthorityAssociation("test", {
certificate: fs.readFileSync("certificate.pem", "utf-8"),
fleetArn: aws_worklink_fleet_test.arn,
});Create a WebsiteCertificateAuthorityAssociation Resource
new WebsiteCertificateAuthorityAssociation(name: string, args: WebsiteCertificateAuthorityAssociationArgs, opts?: CustomResourceOptions);def WebsiteCertificateAuthorityAssociation(resource_name, opts=None, certificate=None, display_name=None, fleet_arn=None, __props__=None);func NewWebsiteCertificateAuthorityAssociation(ctx *Context, name string, args WebsiteCertificateAuthorityAssociationArgs, opts ...ResourceOption) (*WebsiteCertificateAuthorityAssociation, error)public WebsiteCertificateAuthorityAssociation(string name, WebsiteCertificateAuthorityAssociationArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args WebsiteCertificateAuthorityAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args WebsiteCertificateAuthorityAssociationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WebsiteCertificateAuthorityAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
WebsiteCertificateAuthorityAssociation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The WebsiteCertificateAuthorityAssociation resource accepts the following input properties:
- Certificate string
The root certificate of the Certificate Authority.
- Fleet
Arn string The ARN of the fleet.
- Display
Name string The certificate name to display.
- Certificate string
The root certificate of the Certificate Authority.
- Fleet
Arn string The ARN of the fleet.
- Display
Name string The certificate name to display.
- certificate string
The root certificate of the Certificate Authority.
- fleet
Arn string The ARN of the fleet.
- display
Name string The certificate name to display.
- certificate str
The root certificate of the Certificate Authority.
- fleet_
arn str The ARN of the fleet.
- display_
name str The certificate name to display.
Outputs
All input properties are implicitly available as output properties. Additionally, the WebsiteCertificateAuthorityAssociation resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Website
Ca stringId A unique identifier for the Certificate Authority.
- Id string
- The provider-assigned unique ID for this managed resource.
- Website
Ca stringId A unique identifier for the Certificate Authority.
- id string
- The provider-assigned unique ID for this managed resource.
- website
Ca stringId A unique identifier for the Certificate Authority.
- id str
- The provider-assigned unique ID for this managed resource.
- website_
ca_ strid A unique identifier for the Certificate Authority.
Look up an Existing WebsiteCertificateAuthorityAssociation Resource
Get an existing WebsiteCertificateAuthorityAssociation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: WebsiteCertificateAuthorityAssociationState, opts?: CustomResourceOptions): WebsiteCertificateAuthorityAssociationstatic get(resource_name, id, opts=None, certificate=None, display_name=None, fleet_arn=None, website_ca_id=None, __props__=None);func GetWebsiteCertificateAuthorityAssociation(ctx *Context, name string, id IDInput, state *WebsiteCertificateAuthorityAssociationState, opts ...ResourceOption) (*WebsiteCertificateAuthorityAssociation, error)public static WebsiteCertificateAuthorityAssociation Get(string name, Input<string> id, WebsiteCertificateAuthorityAssociationState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Certificate string
The root certificate of the Certificate Authority.
- Display
Name string The certificate name to display.
- Fleet
Arn string The ARN of the fleet.
- Website
Ca stringId A unique identifier for the Certificate Authority.
- Certificate string
The root certificate of the Certificate Authority.
- Display
Name string The certificate name to display.
- Fleet
Arn string The ARN of the fleet.
- Website
Ca stringId A unique identifier for the Certificate Authority.
- certificate string
The root certificate of the Certificate Authority.
- display
Name string The certificate name to display.
- fleet
Arn string The ARN of the fleet.
- website
Ca stringId A unique identifier for the Certificate Authority.
- certificate str
The root certificate of the Certificate Authority.
- display_
name str The certificate name to display.
- fleet_
arn str The ARN of the fleet.
- website_
ca_ strid A unique identifier for the Certificate Authority.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.