aws_rolesanywhere_trust_anchor

package
v5.45.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// Source: required
	Source *Source `hcl:"source,block" validate:"required"`
}

Args contains the configurations for aws_rolesanywhere_trust_anchor.

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource aws_rolesanywhere_trust_anchor.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (arta *Resource) Attributes() awsRolesanywhereTrustAnchorAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (arta *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (arta *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (arta *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (arta *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (arta *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (arta *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (arta *Resource) State() (*awsRolesanywhereTrustAnchorState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (arta *Resource) StateMust() *awsRolesanywhereTrustAnchorState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (arta *Resource) Type() string

Type returns the Terraform object type for Resource.

type Source

type Source struct {
	// SourceType: string, required
	SourceType terra.StringValue `hcl:"source_type,attr" validate:"required"`
	// SourceSourceData: required
	SourceData *SourceSourceData `hcl:"source_data,block" validate:"required"`
}

type SourceAttributes

type SourceAttributes struct {
	// contains filtered or unexported fields
}

func (SourceAttributes) InternalRef

func (s SourceAttributes) InternalRef() (terra.Reference, error)

func (SourceAttributes) InternalTokens

func (s SourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SourceAttributes) InternalWithRef

func (s SourceAttributes) InternalWithRef(ref terra.Reference) SourceAttributes

func (SourceAttributes) SourceData

func (SourceAttributes) SourceType

func (s SourceAttributes) SourceType() terra.StringValue

type SourceSourceData

type SourceSourceData struct {
	// AcmPcaArn: string, optional
	AcmPcaArn terra.StringValue `hcl:"acm_pca_arn,attr"`
	// X509CertificateData: string, optional
	X509CertificateData terra.StringValue `hcl:"x509_certificate_data,attr"`
}

type SourceSourceDataAttributes

type SourceSourceDataAttributes struct {
	// contains filtered or unexported fields
}

func (SourceSourceDataAttributes) AcmPcaArn

func (SourceSourceDataAttributes) InternalRef

func (sd SourceSourceDataAttributes) InternalRef() (terra.Reference, error)

func (SourceSourceDataAttributes) InternalTokens

func (sd SourceSourceDataAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SourceSourceDataAttributes) InternalWithRef

func (SourceSourceDataAttributes) X509CertificateData

func (sd SourceSourceDataAttributes) X509CertificateData() terra.StringValue

type SourceSourceDataState

type SourceSourceDataState struct {
	AcmPcaArn           string `json:"acm_pca_arn"`
	X509CertificateData string `json:"x509_certificate_data"`
}

type SourceState

type SourceState struct {
	SourceType string                  `json:"source_type"`
	SourceData []SourceSourceDataState `json:"source_data"`
}

Jump to

Keyboard shortcuts

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