rolesanywhere

package
v6.42.1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2024 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 Profile

type Profile struct {
	pulumi.CustomResourceState

	// Amazon Resource Name (ARN) of the Profile
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The number of seconds the vended session credentials are valid for. Defaults to 3600.
	DurationSeconds pulumi.IntOutput `pulumi:"durationSeconds"`
	// Whether or not the Profile is enabled.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// A list of managed policy ARNs that apply to the vended session credentials.
	ManagedPolicyArns pulumi.StringArrayOutput `pulumi:"managedPolicyArns"`
	// The name of the Profile.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies whether instance properties are required in [CreateSession](https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html) requests with this profile.
	RequireInstanceProperties pulumi.BoolPtrOutput `pulumi:"requireInstanceProperties"`
	// A list of IAM roles that this profile can assume
	RoleArns pulumi.StringArrayOutput `pulumi:"roleArns"`
	// A session policy that applies to the trust boundary of the vended session credentials.
	SessionPolicy pulumi.StringPtrOutput `pulumi:"sessionPolicy"`
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Resource for managing a Roles Anywhere Profile.

## Example Usage

```go package main

import (

"encoding/json"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"Version": "2012-10-17",
			"Statement": []map[string]interface{}{
				map[string]interface{}{
					"Action": []string{
						"sts:AssumeRole",
						"sts:TagSession",
						"sts:SetSourceIdentity",
					},
					"Principal": map[string]interface{}{
						"Service": "rolesanywhere.amazonaws.com",
					},
					"Effect": "Allow",
					"Sid":    "",
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		test, err := iam.NewRole(ctx, "test", &iam.RoleArgs{
			Name:             pulumi.String("test"),
			Path:             pulumi.String("/"),
			AssumeRolePolicy: pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		_, err = rolesanywhere.NewProfile(ctx, "test", &rolesanywhere.ProfileArgs{
			Name: pulumi.String("example"),
			RoleArns: pulumi.StringArray{
				test.Arn,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_rolesanywhere_profile` using its `id`. For example:

```sh $ pulumi import aws:rolesanywhere/profile:Profile example db138a85-8925-4f9f-a409-08231233cacf ```

func GetProfile

func GetProfile(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProfileState, opts ...pulumi.ResourceOption) (*Profile, error)

GetProfile gets an existing Profile 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 NewProfile

func NewProfile(ctx *pulumi.Context,
	name string, args *ProfileArgs, opts ...pulumi.ResourceOption) (*Profile, error)

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

func (*Profile) ElementType

func (*Profile) ElementType() reflect.Type

func (*Profile) ToProfileOutput

func (i *Profile) ToProfileOutput() ProfileOutput

func (*Profile) ToProfileOutputWithContext

func (i *Profile) ToProfileOutputWithContext(ctx context.Context) ProfileOutput

type ProfileArgs

type ProfileArgs struct {
	// The number of seconds the vended session credentials are valid for. Defaults to 3600.
	DurationSeconds pulumi.IntPtrInput
	// Whether or not the Profile is enabled.
	Enabled pulumi.BoolPtrInput
	// A list of managed policy ARNs that apply to the vended session credentials.
	ManagedPolicyArns pulumi.StringArrayInput
	// The name of the Profile.
	Name pulumi.StringPtrInput
	// Specifies whether instance properties are required in [CreateSession](https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html) requests with this profile.
	RequireInstanceProperties pulumi.BoolPtrInput
	// A list of IAM roles that this profile can assume
	RoleArns pulumi.StringArrayInput
	// A session policy that applies to the trust boundary of the vended session credentials.
	SessionPolicy pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Profile resource.

func (ProfileArgs) ElementType

func (ProfileArgs) ElementType() reflect.Type

type ProfileArray

type ProfileArray []ProfileInput

func (ProfileArray) ElementType

func (ProfileArray) ElementType() reflect.Type

func (ProfileArray) ToProfileArrayOutput

func (i ProfileArray) ToProfileArrayOutput() ProfileArrayOutput

func (ProfileArray) ToProfileArrayOutputWithContext

func (i ProfileArray) ToProfileArrayOutputWithContext(ctx context.Context) ProfileArrayOutput

type ProfileArrayInput

type ProfileArrayInput interface {
	pulumi.Input

	ToProfileArrayOutput() ProfileArrayOutput
	ToProfileArrayOutputWithContext(context.Context) ProfileArrayOutput
}

ProfileArrayInput is an input type that accepts ProfileArray and ProfileArrayOutput values. You can construct a concrete instance of `ProfileArrayInput` via:

ProfileArray{ ProfileArgs{...} }

type ProfileArrayOutput

type ProfileArrayOutput struct{ *pulumi.OutputState }

func (ProfileArrayOutput) ElementType

func (ProfileArrayOutput) ElementType() reflect.Type

func (ProfileArrayOutput) Index

func (ProfileArrayOutput) ToProfileArrayOutput

func (o ProfileArrayOutput) ToProfileArrayOutput() ProfileArrayOutput

func (ProfileArrayOutput) ToProfileArrayOutputWithContext

func (o ProfileArrayOutput) ToProfileArrayOutputWithContext(ctx context.Context) ProfileArrayOutput

type ProfileInput

type ProfileInput interface {
	pulumi.Input

	ToProfileOutput() ProfileOutput
	ToProfileOutputWithContext(ctx context.Context) ProfileOutput
}

type ProfileMap

type ProfileMap map[string]ProfileInput

func (ProfileMap) ElementType

func (ProfileMap) ElementType() reflect.Type

func (ProfileMap) ToProfileMapOutput

func (i ProfileMap) ToProfileMapOutput() ProfileMapOutput

func (ProfileMap) ToProfileMapOutputWithContext

func (i ProfileMap) ToProfileMapOutputWithContext(ctx context.Context) ProfileMapOutput

type ProfileMapInput

type ProfileMapInput interface {
	pulumi.Input

	ToProfileMapOutput() ProfileMapOutput
	ToProfileMapOutputWithContext(context.Context) ProfileMapOutput
}

ProfileMapInput is an input type that accepts ProfileMap and ProfileMapOutput values. You can construct a concrete instance of `ProfileMapInput` via:

ProfileMap{ "key": ProfileArgs{...} }

type ProfileMapOutput

type ProfileMapOutput struct{ *pulumi.OutputState }

func (ProfileMapOutput) ElementType

func (ProfileMapOutput) ElementType() reflect.Type

func (ProfileMapOutput) MapIndex

func (ProfileMapOutput) ToProfileMapOutput

func (o ProfileMapOutput) ToProfileMapOutput() ProfileMapOutput

func (ProfileMapOutput) ToProfileMapOutputWithContext

func (o ProfileMapOutput) ToProfileMapOutputWithContext(ctx context.Context) ProfileMapOutput

type ProfileOutput

type ProfileOutput struct{ *pulumi.OutputState }

func (ProfileOutput) Arn

Amazon Resource Name (ARN) of the Profile

func (ProfileOutput) DurationSeconds

func (o ProfileOutput) DurationSeconds() pulumi.IntOutput

The number of seconds the vended session credentials are valid for. Defaults to 3600.

func (ProfileOutput) ElementType

func (ProfileOutput) ElementType() reflect.Type

func (ProfileOutput) Enabled

func (o ProfileOutput) Enabled() pulumi.BoolPtrOutput

Whether or not the Profile is enabled.

func (ProfileOutput) ManagedPolicyArns

func (o ProfileOutput) ManagedPolicyArns() pulumi.StringArrayOutput

A list of managed policy ARNs that apply to the vended session credentials.

func (ProfileOutput) Name

The name of the Profile.

func (ProfileOutput) RequireInstanceProperties

func (o ProfileOutput) RequireInstanceProperties() pulumi.BoolPtrOutput

Specifies whether instance properties are required in [CreateSession](https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html) requests with this profile.

func (ProfileOutput) RoleArns

func (o ProfileOutput) RoleArns() pulumi.StringArrayOutput

A list of IAM roles that this profile can assume

func (ProfileOutput) SessionPolicy

func (o ProfileOutput) SessionPolicy() pulumi.StringPtrOutput

A session policy that applies to the trust boundary of the vended session credentials.

func (ProfileOutput) Tags

A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (ProfileOutput) TagsAll deprecated

func (o ProfileOutput) TagsAll() pulumi.StringMapOutput

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (ProfileOutput) ToProfileOutput

func (o ProfileOutput) ToProfileOutput() ProfileOutput

func (ProfileOutput) ToProfileOutputWithContext

func (o ProfileOutput) ToProfileOutputWithContext(ctx context.Context) ProfileOutput

type ProfileState

type ProfileState struct {
	// Amazon Resource Name (ARN) of the Profile
	Arn pulumi.StringPtrInput
	// The number of seconds the vended session credentials are valid for. Defaults to 3600.
	DurationSeconds pulumi.IntPtrInput
	// Whether or not the Profile is enabled.
	Enabled pulumi.BoolPtrInput
	// A list of managed policy ARNs that apply to the vended session credentials.
	ManagedPolicyArns pulumi.StringArrayInput
	// The name of the Profile.
	Name pulumi.StringPtrInput
	// Specifies whether instance properties are required in [CreateSession](https://docs.aws.amazon.com/rolesanywhere/latest/APIReference/API_CreateSession.html) requests with this profile.
	RequireInstanceProperties pulumi.BoolPtrInput
	// A list of IAM roles that this profile can assume
	RoleArns pulumi.StringArrayInput
	// A session policy that applies to the trust boundary of the vended session credentials.
	SessionPolicy pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (ProfileState) ElementType

func (ProfileState) ElementType() reflect.Type

type TrustAnchor

type TrustAnchor struct {
	pulumi.CustomResourceState

	// Amazon Resource Name (ARN) of the Trust Anchor
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Whether or not the Trust Anchor should be enabled.
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// The name of the Trust Anchor.
	Name pulumi.StringOutput `pulumi:"name"`
	// The source of trust, documented below
	Source TrustAnchorSourceOutput `pulumi:"source"`
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Resource for managing a Roles Anywhere Trust Anchor.

## Example Usage

```go package main

import (

"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := acmpca.NewCertificateAuthority(ctx, "example", &acmpca.CertificateAuthorityArgs{
			PermanentDeletionTimeInDays: pulumi.Int(7),
			Type:                        pulumi.String("ROOT"),
			CertificateAuthorityConfiguration: &acmpca.CertificateAuthorityCertificateAuthorityConfigurationArgs{
				KeyAlgorithm:     pulumi.String("RSA_4096"),
				SigningAlgorithm: pulumi.String("SHA512WITHRSA"),
				Subject: &acmpca.CertificateAuthorityCertificateAuthorityConfigurationSubjectArgs{
					CommonName: pulumi.String("example.com"),
				},
			},
		})
		if err != nil {
			return err
		}
		current, err := aws.GetPartition(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = acmpca.NewCertificate(ctx, "test", &acmpca.CertificateArgs{
			CertificateAuthorityArn:   example.Arn,
			CertificateSigningRequest: example.CertificateSigningRequest,
			SigningAlgorithm:          pulumi.String("SHA512WITHRSA"),
			TemplateArn:               pulumi.String(fmt.Sprintf("arn:%v:acm-pca:::template/RootCACertificate/V1", current.Partition)),
			Validity: &acmpca.CertificateValidityArgs{
				Type:  pulumi.String("YEARS"),
				Value: pulumi.String("1"),
			},
		})
		if err != nil {
			return err
		}
		exampleCertificateAuthorityCertificate, err := acmpca.NewCertificateAuthorityCertificate(ctx, "example", &acmpca.CertificateAuthorityCertificateArgs{
			CertificateAuthorityArn: example.Arn,
			Certificate:             pulumi.Any(exampleAwsAcmpcaCertificate.Certificate),
			CertificateChain:        pulumi.Any(exampleAwsAcmpcaCertificate.CertificateChain),
		})
		if err != nil {
			return err
		}
		_, err = rolesanywhere.NewTrustAnchor(ctx, "test", &rolesanywhere.TrustAnchorArgs{
			Name: pulumi.String("example"),
			Source: &rolesanywhere.TrustAnchorSourceArgs{
				SourceData: &rolesanywhere.TrustAnchorSourceSourceDataArgs{
					AcmPcaArn: example.Arn,
				},
				SourceType: pulumi.String("AWS_ACM_PCA"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			exampleCertificateAuthorityCertificate,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Using `pulumi import`, import `aws_rolesanywhere_trust_anchor` using its `id`. For example:

```sh $ pulumi import aws:rolesanywhere/trustAnchor:TrustAnchor example 92b2fbbb-984d-41a3-a765-e3cbdb69ebb1 ```

func GetTrustAnchor

func GetTrustAnchor(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TrustAnchorState, opts ...pulumi.ResourceOption) (*TrustAnchor, error)

GetTrustAnchor gets an existing TrustAnchor 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 NewTrustAnchor

func NewTrustAnchor(ctx *pulumi.Context,
	name string, args *TrustAnchorArgs, opts ...pulumi.ResourceOption) (*TrustAnchor, error)

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

func (*TrustAnchor) ElementType

func (*TrustAnchor) ElementType() reflect.Type

func (*TrustAnchor) ToTrustAnchorOutput

func (i *TrustAnchor) ToTrustAnchorOutput() TrustAnchorOutput

func (*TrustAnchor) ToTrustAnchorOutputWithContext

func (i *TrustAnchor) ToTrustAnchorOutputWithContext(ctx context.Context) TrustAnchorOutput

type TrustAnchorArgs

type TrustAnchorArgs struct {
	// Whether or not the Trust Anchor should be enabled.
	Enabled pulumi.BoolPtrInput
	// The name of the Trust Anchor.
	Name pulumi.StringPtrInput
	// The source of trust, documented below
	Source TrustAnchorSourceInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a TrustAnchor resource.

func (TrustAnchorArgs) ElementType

func (TrustAnchorArgs) ElementType() reflect.Type

type TrustAnchorArray

type TrustAnchorArray []TrustAnchorInput

func (TrustAnchorArray) ElementType

func (TrustAnchorArray) ElementType() reflect.Type

func (TrustAnchorArray) ToTrustAnchorArrayOutput

func (i TrustAnchorArray) ToTrustAnchorArrayOutput() TrustAnchorArrayOutput

func (TrustAnchorArray) ToTrustAnchorArrayOutputWithContext

func (i TrustAnchorArray) ToTrustAnchorArrayOutputWithContext(ctx context.Context) TrustAnchorArrayOutput

type TrustAnchorArrayInput

type TrustAnchorArrayInput interface {
	pulumi.Input

	ToTrustAnchorArrayOutput() TrustAnchorArrayOutput
	ToTrustAnchorArrayOutputWithContext(context.Context) TrustAnchorArrayOutput
}

TrustAnchorArrayInput is an input type that accepts TrustAnchorArray and TrustAnchorArrayOutput values. You can construct a concrete instance of `TrustAnchorArrayInput` via:

TrustAnchorArray{ TrustAnchorArgs{...} }

type TrustAnchorArrayOutput

type TrustAnchorArrayOutput struct{ *pulumi.OutputState }

func (TrustAnchorArrayOutput) ElementType

func (TrustAnchorArrayOutput) ElementType() reflect.Type

func (TrustAnchorArrayOutput) Index

func (TrustAnchorArrayOutput) ToTrustAnchorArrayOutput

func (o TrustAnchorArrayOutput) ToTrustAnchorArrayOutput() TrustAnchorArrayOutput

func (TrustAnchorArrayOutput) ToTrustAnchorArrayOutputWithContext

func (o TrustAnchorArrayOutput) ToTrustAnchorArrayOutputWithContext(ctx context.Context) TrustAnchorArrayOutput

type TrustAnchorInput

type TrustAnchorInput interface {
	pulumi.Input

	ToTrustAnchorOutput() TrustAnchorOutput
	ToTrustAnchorOutputWithContext(ctx context.Context) TrustAnchorOutput
}

type TrustAnchorMap

type TrustAnchorMap map[string]TrustAnchorInput

func (TrustAnchorMap) ElementType

func (TrustAnchorMap) ElementType() reflect.Type

func (TrustAnchorMap) ToTrustAnchorMapOutput

func (i TrustAnchorMap) ToTrustAnchorMapOutput() TrustAnchorMapOutput

func (TrustAnchorMap) ToTrustAnchorMapOutputWithContext

func (i TrustAnchorMap) ToTrustAnchorMapOutputWithContext(ctx context.Context) TrustAnchorMapOutput

type TrustAnchorMapInput

type TrustAnchorMapInput interface {
	pulumi.Input

	ToTrustAnchorMapOutput() TrustAnchorMapOutput
	ToTrustAnchorMapOutputWithContext(context.Context) TrustAnchorMapOutput
}

TrustAnchorMapInput is an input type that accepts TrustAnchorMap and TrustAnchorMapOutput values. You can construct a concrete instance of `TrustAnchorMapInput` via:

TrustAnchorMap{ "key": TrustAnchorArgs{...} }

type TrustAnchorMapOutput

type TrustAnchorMapOutput struct{ *pulumi.OutputState }

func (TrustAnchorMapOutput) ElementType

func (TrustAnchorMapOutput) ElementType() reflect.Type

func (TrustAnchorMapOutput) MapIndex

func (TrustAnchorMapOutput) ToTrustAnchorMapOutput

func (o TrustAnchorMapOutput) ToTrustAnchorMapOutput() TrustAnchorMapOutput

func (TrustAnchorMapOutput) ToTrustAnchorMapOutputWithContext

func (o TrustAnchorMapOutput) ToTrustAnchorMapOutputWithContext(ctx context.Context) TrustAnchorMapOutput

type TrustAnchorOutput

type TrustAnchorOutput struct{ *pulumi.OutputState }

func (TrustAnchorOutput) Arn

Amazon Resource Name (ARN) of the Trust Anchor

func (TrustAnchorOutput) ElementType

func (TrustAnchorOutput) ElementType() reflect.Type

func (TrustAnchorOutput) Enabled

func (o TrustAnchorOutput) Enabled() pulumi.BoolOutput

Whether or not the Trust Anchor should be enabled.

func (TrustAnchorOutput) Name

The name of the Trust Anchor.

func (TrustAnchorOutput) Source

The source of trust, documented below

func (TrustAnchorOutput) Tags

A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (TrustAnchorOutput) TagsAll deprecated

A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (TrustAnchorOutput) ToTrustAnchorOutput

func (o TrustAnchorOutput) ToTrustAnchorOutput() TrustAnchorOutput

func (TrustAnchorOutput) ToTrustAnchorOutputWithContext

func (o TrustAnchorOutput) ToTrustAnchorOutputWithContext(ctx context.Context) TrustAnchorOutput

type TrustAnchorSource

type TrustAnchorSource struct {
	// The data denoting the source of trust, documented below
	SourceData TrustAnchorSourceSourceData `pulumi:"sourceData"`
	// The type of the source of trust. Must be either `AWS_ACM_PCA` or `CERTIFICATE_BUNDLE`.
	SourceType string `pulumi:"sourceType"`
}

type TrustAnchorSourceArgs

type TrustAnchorSourceArgs struct {
	// The data denoting the source of trust, documented below
	SourceData TrustAnchorSourceSourceDataInput `pulumi:"sourceData"`
	// The type of the source of trust. Must be either `AWS_ACM_PCA` or `CERTIFICATE_BUNDLE`.
	SourceType pulumi.StringInput `pulumi:"sourceType"`
}

func (TrustAnchorSourceArgs) ElementType

func (TrustAnchorSourceArgs) ElementType() reflect.Type

func (TrustAnchorSourceArgs) ToTrustAnchorSourceOutput

func (i TrustAnchorSourceArgs) ToTrustAnchorSourceOutput() TrustAnchorSourceOutput

func (TrustAnchorSourceArgs) ToTrustAnchorSourceOutputWithContext

func (i TrustAnchorSourceArgs) ToTrustAnchorSourceOutputWithContext(ctx context.Context) TrustAnchorSourceOutput

func (TrustAnchorSourceArgs) ToTrustAnchorSourcePtrOutput

func (i TrustAnchorSourceArgs) ToTrustAnchorSourcePtrOutput() TrustAnchorSourcePtrOutput

func (TrustAnchorSourceArgs) ToTrustAnchorSourcePtrOutputWithContext

func (i TrustAnchorSourceArgs) ToTrustAnchorSourcePtrOutputWithContext(ctx context.Context) TrustAnchorSourcePtrOutput

type TrustAnchorSourceInput

type TrustAnchorSourceInput interface {
	pulumi.Input

	ToTrustAnchorSourceOutput() TrustAnchorSourceOutput
	ToTrustAnchorSourceOutputWithContext(context.Context) TrustAnchorSourceOutput
}

TrustAnchorSourceInput is an input type that accepts TrustAnchorSourceArgs and TrustAnchorSourceOutput values. You can construct a concrete instance of `TrustAnchorSourceInput` via:

TrustAnchorSourceArgs{...}

type TrustAnchorSourceOutput

type TrustAnchorSourceOutput struct{ *pulumi.OutputState }

func (TrustAnchorSourceOutput) ElementType

func (TrustAnchorSourceOutput) ElementType() reflect.Type

func (TrustAnchorSourceOutput) SourceData

The data denoting the source of trust, documented below

func (TrustAnchorSourceOutput) SourceType

The type of the source of trust. Must be either `AWS_ACM_PCA` or `CERTIFICATE_BUNDLE`.

func (TrustAnchorSourceOutput) ToTrustAnchorSourceOutput

func (o TrustAnchorSourceOutput) ToTrustAnchorSourceOutput() TrustAnchorSourceOutput

func (TrustAnchorSourceOutput) ToTrustAnchorSourceOutputWithContext

func (o TrustAnchorSourceOutput) ToTrustAnchorSourceOutputWithContext(ctx context.Context) TrustAnchorSourceOutput

func (TrustAnchorSourceOutput) ToTrustAnchorSourcePtrOutput

func (o TrustAnchorSourceOutput) ToTrustAnchorSourcePtrOutput() TrustAnchorSourcePtrOutput

func (TrustAnchorSourceOutput) ToTrustAnchorSourcePtrOutputWithContext

func (o TrustAnchorSourceOutput) ToTrustAnchorSourcePtrOutputWithContext(ctx context.Context) TrustAnchorSourcePtrOutput

type TrustAnchorSourcePtrInput

type TrustAnchorSourcePtrInput interface {
	pulumi.Input

	ToTrustAnchorSourcePtrOutput() TrustAnchorSourcePtrOutput
	ToTrustAnchorSourcePtrOutputWithContext(context.Context) TrustAnchorSourcePtrOutput
}

TrustAnchorSourcePtrInput is an input type that accepts TrustAnchorSourceArgs, TrustAnchorSourcePtr and TrustAnchorSourcePtrOutput values. You can construct a concrete instance of `TrustAnchorSourcePtrInput` via:

        TrustAnchorSourceArgs{...}

or:

        nil

type TrustAnchorSourcePtrOutput

type TrustAnchorSourcePtrOutput struct{ *pulumi.OutputState }

func (TrustAnchorSourcePtrOutput) Elem

func (TrustAnchorSourcePtrOutput) ElementType

func (TrustAnchorSourcePtrOutput) ElementType() reflect.Type

func (TrustAnchorSourcePtrOutput) SourceData

The data denoting the source of trust, documented below

func (TrustAnchorSourcePtrOutput) SourceType

The type of the source of trust. Must be either `AWS_ACM_PCA` or `CERTIFICATE_BUNDLE`.

func (TrustAnchorSourcePtrOutput) ToTrustAnchorSourcePtrOutput

func (o TrustAnchorSourcePtrOutput) ToTrustAnchorSourcePtrOutput() TrustAnchorSourcePtrOutput

func (TrustAnchorSourcePtrOutput) ToTrustAnchorSourcePtrOutputWithContext

func (o TrustAnchorSourcePtrOutput) ToTrustAnchorSourcePtrOutputWithContext(ctx context.Context) TrustAnchorSourcePtrOutput

type TrustAnchorSourceSourceData

type TrustAnchorSourceSourceData struct {
	// The ARN of an ACM Private Certificate Authority.
	AcmPcaArn           *string `pulumi:"acmPcaArn"`
	X509CertificateData *string `pulumi:"x509CertificateData"`
}

type TrustAnchorSourceSourceDataArgs

type TrustAnchorSourceSourceDataArgs struct {
	// The ARN of an ACM Private Certificate Authority.
	AcmPcaArn           pulumi.StringPtrInput `pulumi:"acmPcaArn"`
	X509CertificateData pulumi.StringPtrInput `pulumi:"x509CertificateData"`
}

func (TrustAnchorSourceSourceDataArgs) ElementType

func (TrustAnchorSourceSourceDataArgs) ToTrustAnchorSourceSourceDataOutput

func (i TrustAnchorSourceSourceDataArgs) ToTrustAnchorSourceSourceDataOutput() TrustAnchorSourceSourceDataOutput

func (TrustAnchorSourceSourceDataArgs) ToTrustAnchorSourceSourceDataOutputWithContext

func (i TrustAnchorSourceSourceDataArgs) ToTrustAnchorSourceSourceDataOutputWithContext(ctx context.Context) TrustAnchorSourceSourceDataOutput

func (TrustAnchorSourceSourceDataArgs) ToTrustAnchorSourceSourceDataPtrOutput

func (i TrustAnchorSourceSourceDataArgs) ToTrustAnchorSourceSourceDataPtrOutput() TrustAnchorSourceSourceDataPtrOutput

func (TrustAnchorSourceSourceDataArgs) ToTrustAnchorSourceSourceDataPtrOutputWithContext

func (i TrustAnchorSourceSourceDataArgs) ToTrustAnchorSourceSourceDataPtrOutputWithContext(ctx context.Context) TrustAnchorSourceSourceDataPtrOutput

type TrustAnchorSourceSourceDataInput

type TrustAnchorSourceSourceDataInput interface {
	pulumi.Input

	ToTrustAnchorSourceSourceDataOutput() TrustAnchorSourceSourceDataOutput
	ToTrustAnchorSourceSourceDataOutputWithContext(context.Context) TrustAnchorSourceSourceDataOutput
}

TrustAnchorSourceSourceDataInput is an input type that accepts TrustAnchorSourceSourceDataArgs and TrustAnchorSourceSourceDataOutput values. You can construct a concrete instance of `TrustAnchorSourceSourceDataInput` via:

TrustAnchorSourceSourceDataArgs{...}

type TrustAnchorSourceSourceDataOutput

type TrustAnchorSourceSourceDataOutput struct{ *pulumi.OutputState }

func (TrustAnchorSourceSourceDataOutput) AcmPcaArn

The ARN of an ACM Private Certificate Authority.

func (TrustAnchorSourceSourceDataOutput) ElementType

func (TrustAnchorSourceSourceDataOutput) ToTrustAnchorSourceSourceDataOutput

func (o TrustAnchorSourceSourceDataOutput) ToTrustAnchorSourceSourceDataOutput() TrustAnchorSourceSourceDataOutput

func (TrustAnchorSourceSourceDataOutput) ToTrustAnchorSourceSourceDataOutputWithContext

func (o TrustAnchorSourceSourceDataOutput) ToTrustAnchorSourceSourceDataOutputWithContext(ctx context.Context) TrustAnchorSourceSourceDataOutput

func (TrustAnchorSourceSourceDataOutput) ToTrustAnchorSourceSourceDataPtrOutput

func (o TrustAnchorSourceSourceDataOutput) ToTrustAnchorSourceSourceDataPtrOutput() TrustAnchorSourceSourceDataPtrOutput

func (TrustAnchorSourceSourceDataOutput) ToTrustAnchorSourceSourceDataPtrOutputWithContext

func (o TrustAnchorSourceSourceDataOutput) ToTrustAnchorSourceSourceDataPtrOutputWithContext(ctx context.Context) TrustAnchorSourceSourceDataPtrOutput

func (TrustAnchorSourceSourceDataOutput) X509CertificateData

type TrustAnchorSourceSourceDataPtrInput

type TrustAnchorSourceSourceDataPtrInput interface {
	pulumi.Input

	ToTrustAnchorSourceSourceDataPtrOutput() TrustAnchorSourceSourceDataPtrOutput
	ToTrustAnchorSourceSourceDataPtrOutputWithContext(context.Context) TrustAnchorSourceSourceDataPtrOutput
}

TrustAnchorSourceSourceDataPtrInput is an input type that accepts TrustAnchorSourceSourceDataArgs, TrustAnchorSourceSourceDataPtr and TrustAnchorSourceSourceDataPtrOutput values. You can construct a concrete instance of `TrustAnchorSourceSourceDataPtrInput` via:

        TrustAnchorSourceSourceDataArgs{...}

or:

        nil

type TrustAnchorSourceSourceDataPtrOutput

type TrustAnchorSourceSourceDataPtrOutput struct{ *pulumi.OutputState }

func (TrustAnchorSourceSourceDataPtrOutput) AcmPcaArn

The ARN of an ACM Private Certificate Authority.

func (TrustAnchorSourceSourceDataPtrOutput) Elem

func (TrustAnchorSourceSourceDataPtrOutput) ElementType

func (TrustAnchorSourceSourceDataPtrOutput) ToTrustAnchorSourceSourceDataPtrOutput

func (o TrustAnchorSourceSourceDataPtrOutput) ToTrustAnchorSourceSourceDataPtrOutput() TrustAnchorSourceSourceDataPtrOutput

func (TrustAnchorSourceSourceDataPtrOutput) ToTrustAnchorSourceSourceDataPtrOutputWithContext

func (o TrustAnchorSourceSourceDataPtrOutput) ToTrustAnchorSourceSourceDataPtrOutputWithContext(ctx context.Context) TrustAnchorSourceSourceDataPtrOutput

func (TrustAnchorSourceSourceDataPtrOutput) X509CertificateData

type TrustAnchorState

type TrustAnchorState struct {
	// Amazon Resource Name (ARN) of the Trust Anchor
	Arn pulumi.StringPtrInput
	// Whether or not the Trust Anchor should be enabled.
	Enabled pulumi.BoolPtrInput
	// The name of the Trust Anchor.
	Name pulumi.StringPtrInput
	// The source of trust, documented below
	Source TrustAnchorSourcePtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (TrustAnchorState) ElementType

func (TrustAnchorState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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