worklink

package
v6.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fleet

type Fleet struct {
	pulumi.CustomResourceState

	// The ARN of the created WorkLink Fleet.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The ARN of the Amazon Kinesis data stream that receives the audit events. Kinesis data stream name must begin with `"AmazonWorkLink-"`.
	AuditStreamArn pulumi.StringPtrOutput `pulumi:"auditStreamArn"`
	// The identifier used by users to sign in to the Amazon WorkLink app.
	CompanyCode pulumi.StringOutput `pulumi:"companyCode"`
	// The time that the fleet was created.
	CreatedTime pulumi.StringOutput `pulumi:"createdTime"`
	// The certificate chain, including intermediate certificates and the root certificate authority certificate used to issue device certificates.
	DeviceCaCertificate pulumi.StringPtrOutput `pulumi:"deviceCaCertificate"`
	// The name of the fleet.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// Provide this to allow manage the identity provider configuration for the fleet. Fields documented below.
	IdentityProvider FleetIdentityProviderPtrOutput `pulumi:"identityProvider"`
	// The time that the fleet was last updated.
	LastUpdatedTime pulumi.StringOutput `pulumi:"lastUpdatedTime"`
	// A region-unique name for the AMI.
	Name pulumi.StringOutput `pulumi:"name"`
	// Provide this to allow manage the company network configuration for the fleet. Fields documented below.
	Network FleetNetworkPtrOutput `pulumi:"network"`
	// The option to optimize for better performance by routing traffic through the closest AWS Region to users, which may be outside of your home Region. Defaults to `true`.
	//
	// **network** requires the following:
	//
	// > **NOTE:** `network` is cannot removed without force recreating.
	OptimizeForEndUserLocation pulumi.BoolPtrOutput `pulumi:"optimizeForEndUserLocation"`
}

## Example Usage

Basic usage:

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/worklink"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := worklink.NewFleet(ctx, "example", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

Network Configuration Usage:

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/worklink"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

) func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := worklink.NewFleet(ctx, "example", &worklink.FleetArgs{ Network: &worklink.FleetNetworkArgs{ VpcId: pulumi.Any(aws_vpc.Test.Id), SubnetIds: pulumi.StringArray{ %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ #-resources-aws:worklink-fleet:Fleet.pp:3,26-47), }, SecurityGroupIds: pulumi.StringArray{ aws_security_group.Test.Id, }, }, }) if err != nil { return err } return nil }) } ```

Identity Provider Configuration Usage:

```go package main

import (

"os"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/worklink"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func readFileOrPanic(path string) pulumi.StringPtrInput {
	data, err := os.ReadFile(path)
	if err != nil {
		panic(err.Error())
	}
	return pulumi.String(string(data))
}

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := worklink.NewFleet(ctx, "test", &worklink.FleetArgs{
			IdentityProvider: &worklink.FleetIdentityProviderArgs{
				Type:         pulumi.String("SAML"),
				SamlMetadata: readFileOrPanic("saml-metadata.xml"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_worklink_fleet.test

id = "arn:aws:worklink::123456789012:fleet/example" } Using `pulumi import`, import WorkLink using the ARN. For exampleconsole % pulumi import aws_worklink_fleet.test arn:aws:worklink::123456789012:fleet/example

func GetFleet

func GetFleet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *FleetState, opts ...pulumi.ResourceOption) (*Fleet, error)

GetFleet gets an existing Fleet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewFleet

func NewFleet(ctx *pulumi.Context,
	name string, args *FleetArgs, opts ...pulumi.ResourceOption) (*Fleet, error)

NewFleet registers a new resource with the given unique name, arguments, and options.

func (*Fleet) ElementType

func (*Fleet) ElementType() reflect.Type

func (*Fleet) ToFleetOutput

func (i *Fleet) ToFleetOutput() FleetOutput

func (*Fleet) ToFleetOutputWithContext

func (i *Fleet) ToFleetOutputWithContext(ctx context.Context) FleetOutput

type FleetArgs

type FleetArgs struct {
	// The ARN of the Amazon Kinesis data stream that receives the audit events. Kinesis data stream name must begin with `"AmazonWorkLink-"`.
	AuditStreamArn pulumi.StringPtrInput
	// The certificate chain, including intermediate certificates and the root certificate authority certificate used to issue device certificates.
	DeviceCaCertificate pulumi.StringPtrInput
	// The name of the fleet.
	DisplayName pulumi.StringPtrInput
	// Provide this to allow manage the identity provider configuration for the fleet. Fields documented below.
	IdentityProvider FleetIdentityProviderPtrInput
	// A region-unique name for the AMI.
	Name pulumi.StringPtrInput
	// Provide this to allow manage the company network configuration for the fleet. Fields documented below.
	Network FleetNetworkPtrInput
	// The option to optimize for better performance by routing traffic through the closest AWS Region to users, which may be outside of your home Region. Defaults to `true`.
	//
	// **network** requires the following:
	//
	// > **NOTE:** `network` is cannot removed without force recreating.
	OptimizeForEndUserLocation pulumi.BoolPtrInput
}

The set of arguments for constructing a Fleet resource.

func (FleetArgs) ElementType

func (FleetArgs) ElementType() reflect.Type

type FleetArray

type FleetArray []FleetInput

func (FleetArray) ElementType

func (FleetArray) ElementType() reflect.Type

func (FleetArray) ToFleetArrayOutput

func (i FleetArray) ToFleetArrayOutput() FleetArrayOutput

func (FleetArray) ToFleetArrayOutputWithContext

func (i FleetArray) ToFleetArrayOutputWithContext(ctx context.Context) FleetArrayOutput

type FleetArrayInput

type FleetArrayInput interface {
	pulumi.Input

	ToFleetArrayOutput() FleetArrayOutput
	ToFleetArrayOutputWithContext(context.Context) FleetArrayOutput
}

FleetArrayInput is an input type that accepts FleetArray and FleetArrayOutput values. You can construct a concrete instance of `FleetArrayInput` via:

FleetArray{ FleetArgs{...} }

type FleetArrayOutput

type FleetArrayOutput struct{ *pulumi.OutputState }

func (FleetArrayOutput) ElementType

func (FleetArrayOutput) ElementType() reflect.Type

func (FleetArrayOutput) Index

func (FleetArrayOutput) ToFleetArrayOutput

func (o FleetArrayOutput) ToFleetArrayOutput() FleetArrayOutput

func (FleetArrayOutput) ToFleetArrayOutputWithContext

func (o FleetArrayOutput) ToFleetArrayOutputWithContext(ctx context.Context) FleetArrayOutput

type FleetIdentityProvider

type FleetIdentityProvider struct {
	// The SAML metadata document provided by the customer’s identity provider.
	SamlMetadata string `pulumi:"samlMetadata"`
	// The type of identity provider.
	Type string `pulumi:"type"`
}

type FleetIdentityProviderArgs

type FleetIdentityProviderArgs struct {
	// The SAML metadata document provided by the customer’s identity provider.
	SamlMetadata pulumi.StringInput `pulumi:"samlMetadata"`
	// The type of identity provider.
	Type pulumi.StringInput `pulumi:"type"`
}

func (FleetIdentityProviderArgs) ElementType

func (FleetIdentityProviderArgs) ElementType() reflect.Type

func (FleetIdentityProviderArgs) ToFleetIdentityProviderOutput

func (i FleetIdentityProviderArgs) ToFleetIdentityProviderOutput() FleetIdentityProviderOutput

func (FleetIdentityProviderArgs) ToFleetIdentityProviderOutputWithContext

func (i FleetIdentityProviderArgs) ToFleetIdentityProviderOutputWithContext(ctx context.Context) FleetIdentityProviderOutput

func (FleetIdentityProviderArgs) ToFleetIdentityProviderPtrOutput

func (i FleetIdentityProviderArgs) ToFleetIdentityProviderPtrOutput() FleetIdentityProviderPtrOutput

func (FleetIdentityProviderArgs) ToFleetIdentityProviderPtrOutputWithContext

func (i FleetIdentityProviderArgs) ToFleetIdentityProviderPtrOutputWithContext(ctx context.Context) FleetIdentityProviderPtrOutput

type FleetIdentityProviderInput

type FleetIdentityProviderInput interface {
	pulumi.Input

	ToFleetIdentityProviderOutput() FleetIdentityProviderOutput
	ToFleetIdentityProviderOutputWithContext(context.Context) FleetIdentityProviderOutput
}

FleetIdentityProviderInput is an input type that accepts FleetIdentityProviderArgs and FleetIdentityProviderOutput values. You can construct a concrete instance of `FleetIdentityProviderInput` via:

FleetIdentityProviderArgs{...}

type FleetIdentityProviderOutput

type FleetIdentityProviderOutput struct{ *pulumi.OutputState }

func (FleetIdentityProviderOutput) ElementType

func (FleetIdentityProviderOutput) SamlMetadata

The SAML metadata document provided by the customer’s identity provider.

func (FleetIdentityProviderOutput) ToFleetIdentityProviderOutput

func (o FleetIdentityProviderOutput) ToFleetIdentityProviderOutput() FleetIdentityProviderOutput

func (FleetIdentityProviderOutput) ToFleetIdentityProviderOutputWithContext

func (o FleetIdentityProviderOutput) ToFleetIdentityProviderOutputWithContext(ctx context.Context) FleetIdentityProviderOutput

func (FleetIdentityProviderOutput) ToFleetIdentityProviderPtrOutput

func (o FleetIdentityProviderOutput) ToFleetIdentityProviderPtrOutput() FleetIdentityProviderPtrOutput

func (FleetIdentityProviderOutput) ToFleetIdentityProviderPtrOutputWithContext

func (o FleetIdentityProviderOutput) ToFleetIdentityProviderPtrOutputWithContext(ctx context.Context) FleetIdentityProviderPtrOutput

func (FleetIdentityProviderOutput) Type

The type of identity provider.

type FleetIdentityProviderPtrInput

type FleetIdentityProviderPtrInput interface {
	pulumi.Input

	ToFleetIdentityProviderPtrOutput() FleetIdentityProviderPtrOutput
	ToFleetIdentityProviderPtrOutputWithContext(context.Context) FleetIdentityProviderPtrOutput
}

FleetIdentityProviderPtrInput is an input type that accepts FleetIdentityProviderArgs, FleetIdentityProviderPtr and FleetIdentityProviderPtrOutput values. You can construct a concrete instance of `FleetIdentityProviderPtrInput` via:

        FleetIdentityProviderArgs{...}

or:

        nil

type FleetIdentityProviderPtrOutput

type FleetIdentityProviderPtrOutput struct{ *pulumi.OutputState }

func (FleetIdentityProviderPtrOutput) Elem

func (FleetIdentityProviderPtrOutput) ElementType

func (FleetIdentityProviderPtrOutput) SamlMetadata

The SAML metadata document provided by the customer’s identity provider.

func (FleetIdentityProviderPtrOutput) ToFleetIdentityProviderPtrOutput

func (o FleetIdentityProviderPtrOutput) ToFleetIdentityProviderPtrOutput() FleetIdentityProviderPtrOutput

func (FleetIdentityProviderPtrOutput) ToFleetIdentityProviderPtrOutputWithContext

func (o FleetIdentityProviderPtrOutput) ToFleetIdentityProviderPtrOutputWithContext(ctx context.Context) FleetIdentityProviderPtrOutput

func (FleetIdentityProviderPtrOutput) Type

The type of identity provider.

type FleetInput

type FleetInput interface {
	pulumi.Input

	ToFleetOutput() FleetOutput
	ToFleetOutputWithContext(ctx context.Context) FleetOutput
}

type FleetMap

type FleetMap map[string]FleetInput

func (FleetMap) ElementType

func (FleetMap) ElementType() reflect.Type

func (FleetMap) ToFleetMapOutput

func (i FleetMap) ToFleetMapOutput() FleetMapOutput

func (FleetMap) ToFleetMapOutputWithContext

func (i FleetMap) ToFleetMapOutputWithContext(ctx context.Context) FleetMapOutput

type FleetMapInput

type FleetMapInput interface {
	pulumi.Input

	ToFleetMapOutput() FleetMapOutput
	ToFleetMapOutputWithContext(context.Context) FleetMapOutput
}

FleetMapInput is an input type that accepts FleetMap and FleetMapOutput values. You can construct a concrete instance of `FleetMapInput` via:

FleetMap{ "key": FleetArgs{...} }

type FleetMapOutput

type FleetMapOutput struct{ *pulumi.OutputState }

func (FleetMapOutput) ElementType

func (FleetMapOutput) ElementType() reflect.Type

func (FleetMapOutput) MapIndex

func (FleetMapOutput) ToFleetMapOutput

func (o FleetMapOutput) ToFleetMapOutput() FleetMapOutput

func (FleetMapOutput) ToFleetMapOutputWithContext

func (o FleetMapOutput) ToFleetMapOutputWithContext(ctx context.Context) FleetMapOutput

type FleetNetwork

type FleetNetwork struct {
	// A list of security group IDs associated with access to the provided subnets.
	//
	// **identity_provider** requires the following:
	//
	// > **NOTE:** `identityProvider` cannot be removed without force recreating.
	SecurityGroupIds []string `pulumi:"securityGroupIds"`
	// A list of subnet IDs used for X-ENI connections from Amazon WorkLink rendering containers.
	SubnetIds []string `pulumi:"subnetIds"`
	// The VPC ID with connectivity to associated websites.
	VpcId string `pulumi:"vpcId"`
}

type FleetNetworkArgs

type FleetNetworkArgs struct {
	// A list of security group IDs associated with access to the provided subnets.
	//
	// **identity_provider** requires the following:
	//
	// > **NOTE:** `identityProvider` cannot be removed without force recreating.
	SecurityGroupIds pulumi.StringArrayInput `pulumi:"securityGroupIds"`
	// A list of subnet IDs used for X-ENI connections from Amazon WorkLink rendering containers.
	SubnetIds pulumi.StringArrayInput `pulumi:"subnetIds"`
	// The VPC ID with connectivity to associated websites.
	VpcId pulumi.StringInput `pulumi:"vpcId"`
}

func (FleetNetworkArgs) ElementType

func (FleetNetworkArgs) ElementType() reflect.Type

func (FleetNetworkArgs) ToFleetNetworkOutput

func (i FleetNetworkArgs) ToFleetNetworkOutput() FleetNetworkOutput

func (FleetNetworkArgs) ToFleetNetworkOutputWithContext

func (i FleetNetworkArgs) ToFleetNetworkOutputWithContext(ctx context.Context) FleetNetworkOutput

func (FleetNetworkArgs) ToFleetNetworkPtrOutput

func (i FleetNetworkArgs) ToFleetNetworkPtrOutput() FleetNetworkPtrOutput

func (FleetNetworkArgs) ToFleetNetworkPtrOutputWithContext

func (i FleetNetworkArgs) ToFleetNetworkPtrOutputWithContext(ctx context.Context) FleetNetworkPtrOutput

type FleetNetworkInput

type FleetNetworkInput interface {
	pulumi.Input

	ToFleetNetworkOutput() FleetNetworkOutput
	ToFleetNetworkOutputWithContext(context.Context) FleetNetworkOutput
}

FleetNetworkInput is an input type that accepts FleetNetworkArgs and FleetNetworkOutput values. You can construct a concrete instance of `FleetNetworkInput` via:

FleetNetworkArgs{...}

type FleetNetworkOutput

type FleetNetworkOutput struct{ *pulumi.OutputState }

func (FleetNetworkOutput) ElementType

func (FleetNetworkOutput) ElementType() reflect.Type

func (FleetNetworkOutput) SecurityGroupIds

func (o FleetNetworkOutput) SecurityGroupIds() pulumi.StringArrayOutput

A list of security group IDs associated with access to the provided subnets.

**identity_provider** requires the following:

> **NOTE:** `identityProvider` cannot be removed without force recreating.

func (FleetNetworkOutput) SubnetIds

A list of subnet IDs used for X-ENI connections from Amazon WorkLink rendering containers.

func (FleetNetworkOutput) ToFleetNetworkOutput

func (o FleetNetworkOutput) ToFleetNetworkOutput() FleetNetworkOutput

func (FleetNetworkOutput) ToFleetNetworkOutputWithContext

func (o FleetNetworkOutput) ToFleetNetworkOutputWithContext(ctx context.Context) FleetNetworkOutput

func (FleetNetworkOutput) ToFleetNetworkPtrOutput

func (o FleetNetworkOutput) ToFleetNetworkPtrOutput() FleetNetworkPtrOutput

func (FleetNetworkOutput) ToFleetNetworkPtrOutputWithContext

func (o FleetNetworkOutput) ToFleetNetworkPtrOutputWithContext(ctx context.Context) FleetNetworkPtrOutput

func (FleetNetworkOutput) VpcId

The VPC ID with connectivity to associated websites.

type FleetNetworkPtrInput

type FleetNetworkPtrInput interface {
	pulumi.Input

	ToFleetNetworkPtrOutput() FleetNetworkPtrOutput
	ToFleetNetworkPtrOutputWithContext(context.Context) FleetNetworkPtrOutput
}

FleetNetworkPtrInput is an input type that accepts FleetNetworkArgs, FleetNetworkPtr and FleetNetworkPtrOutput values. You can construct a concrete instance of `FleetNetworkPtrInput` via:

        FleetNetworkArgs{...}

or:

        nil

type FleetNetworkPtrOutput

type FleetNetworkPtrOutput struct{ *pulumi.OutputState }

func (FleetNetworkPtrOutput) Elem

func (FleetNetworkPtrOutput) ElementType

func (FleetNetworkPtrOutput) ElementType() reflect.Type

func (FleetNetworkPtrOutput) SecurityGroupIds

func (o FleetNetworkPtrOutput) SecurityGroupIds() pulumi.StringArrayOutput

A list of security group IDs associated with access to the provided subnets.

**identity_provider** requires the following:

> **NOTE:** `identityProvider` cannot be removed without force recreating.

func (FleetNetworkPtrOutput) SubnetIds

A list of subnet IDs used for X-ENI connections from Amazon WorkLink rendering containers.

func (FleetNetworkPtrOutput) ToFleetNetworkPtrOutput

func (o FleetNetworkPtrOutput) ToFleetNetworkPtrOutput() FleetNetworkPtrOutput

func (FleetNetworkPtrOutput) ToFleetNetworkPtrOutputWithContext

func (o FleetNetworkPtrOutput) ToFleetNetworkPtrOutputWithContext(ctx context.Context) FleetNetworkPtrOutput

func (FleetNetworkPtrOutput) VpcId

The VPC ID with connectivity to associated websites.

type FleetOutput

type FleetOutput struct{ *pulumi.OutputState }

func (FleetOutput) Arn

The ARN of the created WorkLink Fleet.

func (FleetOutput) AuditStreamArn

func (o FleetOutput) AuditStreamArn() pulumi.StringPtrOutput

The ARN of the Amazon Kinesis data stream that receives the audit events. Kinesis data stream name must begin with `"AmazonWorkLink-"`.

func (FleetOutput) CompanyCode

func (o FleetOutput) CompanyCode() pulumi.StringOutput

The identifier used by users to sign in to the Amazon WorkLink app.

func (FleetOutput) CreatedTime

func (o FleetOutput) CreatedTime() pulumi.StringOutput

The time that the fleet was created.

func (FleetOutput) DeviceCaCertificate

func (o FleetOutput) DeviceCaCertificate() pulumi.StringPtrOutput

The certificate chain, including intermediate certificates and the root certificate authority certificate used to issue device certificates.

func (FleetOutput) DisplayName

func (o FleetOutput) DisplayName() pulumi.StringPtrOutput

The name of the fleet.

func (FleetOutput) ElementType

func (FleetOutput) ElementType() reflect.Type

func (FleetOutput) IdentityProvider

func (o FleetOutput) IdentityProvider() FleetIdentityProviderPtrOutput

Provide this to allow manage the identity provider configuration for the fleet. Fields documented below.

func (FleetOutput) LastUpdatedTime

func (o FleetOutput) LastUpdatedTime() pulumi.StringOutput

The time that the fleet was last updated.

func (FleetOutput) Name

func (o FleetOutput) Name() pulumi.StringOutput

A region-unique name for the AMI.

func (FleetOutput) Network

func (o FleetOutput) Network() FleetNetworkPtrOutput

Provide this to allow manage the company network configuration for the fleet. Fields documented below.

func (FleetOutput) OptimizeForEndUserLocation

func (o FleetOutput) OptimizeForEndUserLocation() pulumi.BoolPtrOutput

The option to optimize for better performance by routing traffic through the closest AWS Region to users, which may be outside of your home Region. Defaults to `true`.

**network** requires the following:

> **NOTE:** `network` is cannot removed without force recreating.

func (FleetOutput) ToFleetOutput

func (o FleetOutput) ToFleetOutput() FleetOutput

func (FleetOutput) ToFleetOutputWithContext

func (o FleetOutput) ToFleetOutputWithContext(ctx context.Context) FleetOutput

type FleetState

type FleetState struct {
	// The ARN of the created WorkLink Fleet.
	Arn pulumi.StringPtrInput
	// The ARN of the Amazon Kinesis data stream that receives the audit events. Kinesis data stream name must begin with `"AmazonWorkLink-"`.
	AuditStreamArn pulumi.StringPtrInput
	// The identifier used by users to sign in to the Amazon WorkLink app.
	CompanyCode pulumi.StringPtrInput
	// The time that the fleet was created.
	CreatedTime pulumi.StringPtrInput
	// The certificate chain, including intermediate certificates and the root certificate authority certificate used to issue device certificates.
	DeviceCaCertificate pulumi.StringPtrInput
	// The name of the fleet.
	DisplayName pulumi.StringPtrInput
	// Provide this to allow manage the identity provider configuration for the fleet. Fields documented below.
	IdentityProvider FleetIdentityProviderPtrInput
	// The time that the fleet was last updated.
	LastUpdatedTime pulumi.StringPtrInput
	// A region-unique name for the AMI.
	Name pulumi.StringPtrInput
	// Provide this to allow manage the company network configuration for the fleet. Fields documented below.
	Network FleetNetworkPtrInput
	// The option to optimize for better performance by routing traffic through the closest AWS Region to users, which may be outside of your home Region. Defaults to `true`.
	//
	// **network** requires the following:
	//
	// > **NOTE:** `network` is cannot removed without force recreating.
	OptimizeForEndUserLocation pulumi.BoolPtrInput
}

func (FleetState) ElementType

func (FleetState) ElementType() reflect.Type

type WebsiteCertificateAuthorityAssociation

type WebsiteCertificateAuthorityAssociation struct {
	pulumi.CustomResourceState

	// The root certificate of the Certificate Authority.
	Certificate pulumi.StringOutput `pulumi:"certificate"`
	// The certificate name to display.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// The ARN of the fleet.
	FleetArn pulumi.StringOutput `pulumi:"fleetArn"`
	// A unique identifier for the Certificate Authority.
	WebsiteCaId pulumi.StringOutput `pulumi:"websiteCaId"`
}

## Example Usage

```go package main

import (

"os"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/worklink"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func readFileOrPanic(path string) pulumi.StringPtrInput {
	data, err := os.ReadFile(path)
	if err != nil {
		panic(err.Error())
	}
	return pulumi.String(string(data))
}

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := worklink.NewFleet(ctx, "example", nil)
		if err != nil {
			return err
		}
		_, err = worklink.NewWebsiteCertificateAuthorityAssociation(ctx, "test", &worklink.WebsiteCertificateAuthorityAssociationArgs{
			FleetArn:    pulumi.Any(aws_worklink_fleet.Test.Arn),
			Certificate: readFileOrPanic("certificate.pem"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

terraform import {

to = aws_worklink_website_certificate_authority_association.example

id = "arn:aws:worklink::123456789012:fleet/example,abcdefghijk" } Using `pulumi import`, import WorkLink Website Certificate Authority using `FLEET-ARN,WEBSITE-CA-ID`. For exampleconsole % pulumi import aws_worklink_website_certificate_authority_association.example arn:aws:worklink::123456789012:fleet/example,abcdefghijk

func GetWebsiteCertificateAuthorityAssociation

func GetWebsiteCertificateAuthorityAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *WebsiteCertificateAuthorityAssociationState, opts ...pulumi.ResourceOption) (*WebsiteCertificateAuthorityAssociation, error)

GetWebsiteCertificateAuthorityAssociation gets an existing WebsiteCertificateAuthorityAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewWebsiteCertificateAuthorityAssociation

func NewWebsiteCertificateAuthorityAssociation(ctx *pulumi.Context,
	name string, args *WebsiteCertificateAuthorityAssociationArgs, opts ...pulumi.ResourceOption) (*WebsiteCertificateAuthorityAssociation, error)

NewWebsiteCertificateAuthorityAssociation registers a new resource with the given unique name, arguments, and options.

func (*WebsiteCertificateAuthorityAssociation) ElementType

func (*WebsiteCertificateAuthorityAssociation) ToWebsiteCertificateAuthorityAssociationOutput

func (i *WebsiteCertificateAuthorityAssociation) ToWebsiteCertificateAuthorityAssociationOutput() WebsiteCertificateAuthorityAssociationOutput

func (*WebsiteCertificateAuthorityAssociation) ToWebsiteCertificateAuthorityAssociationOutputWithContext

func (i *WebsiteCertificateAuthorityAssociation) ToWebsiteCertificateAuthorityAssociationOutputWithContext(ctx context.Context) WebsiteCertificateAuthorityAssociationOutput

type WebsiteCertificateAuthorityAssociationArgs

type WebsiteCertificateAuthorityAssociationArgs struct {
	// The root certificate of the Certificate Authority.
	Certificate pulumi.StringInput
	// The certificate name to display.
	DisplayName pulumi.StringPtrInput
	// The ARN of the fleet.
	FleetArn pulumi.StringInput
}

The set of arguments for constructing a WebsiteCertificateAuthorityAssociation resource.

func (WebsiteCertificateAuthorityAssociationArgs) ElementType

type WebsiteCertificateAuthorityAssociationArray

type WebsiteCertificateAuthorityAssociationArray []WebsiteCertificateAuthorityAssociationInput

func (WebsiteCertificateAuthorityAssociationArray) ElementType

func (WebsiteCertificateAuthorityAssociationArray) ToWebsiteCertificateAuthorityAssociationArrayOutput

func (i WebsiteCertificateAuthorityAssociationArray) ToWebsiteCertificateAuthorityAssociationArrayOutput() WebsiteCertificateAuthorityAssociationArrayOutput

func (WebsiteCertificateAuthorityAssociationArray) ToWebsiteCertificateAuthorityAssociationArrayOutputWithContext

func (i WebsiteCertificateAuthorityAssociationArray) ToWebsiteCertificateAuthorityAssociationArrayOutputWithContext(ctx context.Context) WebsiteCertificateAuthorityAssociationArrayOutput

type WebsiteCertificateAuthorityAssociationArrayInput

type WebsiteCertificateAuthorityAssociationArrayInput interface {
	pulumi.Input

	ToWebsiteCertificateAuthorityAssociationArrayOutput() WebsiteCertificateAuthorityAssociationArrayOutput
	ToWebsiteCertificateAuthorityAssociationArrayOutputWithContext(context.Context) WebsiteCertificateAuthorityAssociationArrayOutput
}

WebsiteCertificateAuthorityAssociationArrayInput is an input type that accepts WebsiteCertificateAuthorityAssociationArray and WebsiteCertificateAuthorityAssociationArrayOutput values. You can construct a concrete instance of `WebsiteCertificateAuthorityAssociationArrayInput` via:

WebsiteCertificateAuthorityAssociationArray{ WebsiteCertificateAuthorityAssociationArgs{...} }

type WebsiteCertificateAuthorityAssociationArrayOutput

type WebsiteCertificateAuthorityAssociationArrayOutput struct{ *pulumi.OutputState }

func (WebsiteCertificateAuthorityAssociationArrayOutput) ElementType

func (WebsiteCertificateAuthorityAssociationArrayOutput) Index

func (WebsiteCertificateAuthorityAssociationArrayOutput) ToWebsiteCertificateAuthorityAssociationArrayOutput

func (o WebsiteCertificateAuthorityAssociationArrayOutput) ToWebsiteCertificateAuthorityAssociationArrayOutput() WebsiteCertificateAuthorityAssociationArrayOutput

func (WebsiteCertificateAuthorityAssociationArrayOutput) ToWebsiteCertificateAuthorityAssociationArrayOutputWithContext

func (o WebsiteCertificateAuthorityAssociationArrayOutput) ToWebsiteCertificateAuthorityAssociationArrayOutputWithContext(ctx context.Context) WebsiteCertificateAuthorityAssociationArrayOutput

type WebsiteCertificateAuthorityAssociationInput

type WebsiteCertificateAuthorityAssociationInput interface {
	pulumi.Input

	ToWebsiteCertificateAuthorityAssociationOutput() WebsiteCertificateAuthorityAssociationOutput
	ToWebsiteCertificateAuthorityAssociationOutputWithContext(ctx context.Context) WebsiteCertificateAuthorityAssociationOutput
}

type WebsiteCertificateAuthorityAssociationMap

type WebsiteCertificateAuthorityAssociationMap map[string]WebsiteCertificateAuthorityAssociationInput

func (WebsiteCertificateAuthorityAssociationMap) ElementType

func (WebsiteCertificateAuthorityAssociationMap) ToWebsiteCertificateAuthorityAssociationMapOutput

func (i WebsiteCertificateAuthorityAssociationMap) ToWebsiteCertificateAuthorityAssociationMapOutput() WebsiteCertificateAuthorityAssociationMapOutput

func (WebsiteCertificateAuthorityAssociationMap) ToWebsiteCertificateAuthorityAssociationMapOutputWithContext

func (i WebsiteCertificateAuthorityAssociationMap) ToWebsiteCertificateAuthorityAssociationMapOutputWithContext(ctx context.Context) WebsiteCertificateAuthorityAssociationMapOutput

type WebsiteCertificateAuthorityAssociationMapInput

type WebsiteCertificateAuthorityAssociationMapInput interface {
	pulumi.Input

	ToWebsiteCertificateAuthorityAssociationMapOutput() WebsiteCertificateAuthorityAssociationMapOutput
	ToWebsiteCertificateAuthorityAssociationMapOutputWithContext(context.Context) WebsiteCertificateAuthorityAssociationMapOutput
}

WebsiteCertificateAuthorityAssociationMapInput is an input type that accepts WebsiteCertificateAuthorityAssociationMap and WebsiteCertificateAuthorityAssociationMapOutput values. You can construct a concrete instance of `WebsiteCertificateAuthorityAssociationMapInput` via:

WebsiteCertificateAuthorityAssociationMap{ "key": WebsiteCertificateAuthorityAssociationArgs{...} }

type WebsiteCertificateAuthorityAssociationMapOutput

type WebsiteCertificateAuthorityAssociationMapOutput struct{ *pulumi.OutputState }

func (WebsiteCertificateAuthorityAssociationMapOutput) ElementType

func (WebsiteCertificateAuthorityAssociationMapOutput) MapIndex

func (WebsiteCertificateAuthorityAssociationMapOutput) ToWebsiteCertificateAuthorityAssociationMapOutput

func (o WebsiteCertificateAuthorityAssociationMapOutput) ToWebsiteCertificateAuthorityAssociationMapOutput() WebsiteCertificateAuthorityAssociationMapOutput

func (WebsiteCertificateAuthorityAssociationMapOutput) ToWebsiteCertificateAuthorityAssociationMapOutputWithContext

func (o WebsiteCertificateAuthorityAssociationMapOutput) ToWebsiteCertificateAuthorityAssociationMapOutputWithContext(ctx context.Context) WebsiteCertificateAuthorityAssociationMapOutput

type WebsiteCertificateAuthorityAssociationOutput

type WebsiteCertificateAuthorityAssociationOutput struct{ *pulumi.OutputState }

func (WebsiteCertificateAuthorityAssociationOutput) Certificate

The root certificate of the Certificate Authority.

func (WebsiteCertificateAuthorityAssociationOutput) DisplayName

The certificate name to display.

func (WebsiteCertificateAuthorityAssociationOutput) ElementType

func (WebsiteCertificateAuthorityAssociationOutput) FleetArn

The ARN of the fleet.

func (WebsiteCertificateAuthorityAssociationOutput) ToWebsiteCertificateAuthorityAssociationOutput

func (o WebsiteCertificateAuthorityAssociationOutput) ToWebsiteCertificateAuthorityAssociationOutput() WebsiteCertificateAuthorityAssociationOutput

func (WebsiteCertificateAuthorityAssociationOutput) ToWebsiteCertificateAuthorityAssociationOutputWithContext

func (o WebsiteCertificateAuthorityAssociationOutput) ToWebsiteCertificateAuthorityAssociationOutputWithContext(ctx context.Context) WebsiteCertificateAuthorityAssociationOutput

func (WebsiteCertificateAuthorityAssociationOutput) WebsiteCaId

A unique identifier for the Certificate Authority.

type WebsiteCertificateAuthorityAssociationState

type WebsiteCertificateAuthorityAssociationState struct {
	// The root certificate of the Certificate Authority.
	Certificate pulumi.StringPtrInput
	// The certificate name to display.
	DisplayName pulumi.StringPtrInput
	// The ARN of the fleet.
	FleetArn pulumi.StringPtrInput
	// A unique identifier for the Certificate Authority.
	WebsiteCaId pulumi.StringPtrInput
}

func (WebsiteCertificateAuthorityAssociationState) ElementType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL