Documentation ¶
Index ¶
- type Args
- type Resource
- func (arta *Resource) Attributes() awsRolesanywhereTrustAnchorAttributes
- func (arta *Resource) Configuration() interface{}
- func (arta *Resource) DependOn() terra.Reference
- func (arta *Resource) Dependencies() terra.Dependencies
- func (arta *Resource) ImportState(state io.Reader) error
- func (arta *Resource) LifecycleManagement() *terra.Lifecycle
- func (arta *Resource) LocalName() string
- func (arta *Resource) State() (*awsRolesanywhereTrustAnchorState, bool)
- func (arta *Resource) StateMust() *awsRolesanywhereTrustAnchorState
- func (arta *Resource) Type() string
- type Source
- type SourceAttributes
- func (s SourceAttributes) InternalRef() (terra.Reference, error)
- func (s SourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SourceAttributes) InternalWithRef(ref terra.Reference) SourceAttributes
- func (s SourceAttributes) SourceData() terra.ListValue[SourceSourceDataAttributes]
- func (s SourceAttributes) SourceType() terra.StringValue
- type SourceSourceData
- type SourceSourceDataAttributes
- func (sd SourceSourceDataAttributes) AcmPcaArn() terra.StringValue
- func (sd SourceSourceDataAttributes) InternalRef() (terra.Reference, error)
- func (sd SourceSourceDataAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sd SourceSourceDataAttributes) InternalWithRef(ref terra.Reference) SourceSourceDataAttributes
- func (sd SourceSourceDataAttributes) X509CertificateData() terra.StringValue
- type SourceSourceDataState
- type SourceState
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 (*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) Dependencies ¶
func (arta *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block 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 (s SourceAttributes) SourceData() terra.ListValue[SourceSourceDataAttributes]
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 (sd SourceSourceDataAttributes) AcmPcaArn() terra.StringValue
func (SourceSourceDataAttributes) InternalRef ¶
func (sd SourceSourceDataAttributes) InternalRef() (terra.Reference, error)
func (SourceSourceDataAttributes) InternalTokens ¶
func (sd SourceSourceDataAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SourceSourceDataAttributes) InternalWithRef ¶
func (sd SourceSourceDataAttributes) InternalWithRef(ref terra.Reference) SourceSourceDataAttributes
func (SourceSourceDataAttributes) X509CertificateData ¶
func (sd SourceSourceDataAttributes) X509CertificateData() terra.StringValue
type SourceSourceDataState ¶
type SourceState ¶
type SourceState struct { SourceType string `json:"source_type"` SourceData []SourceSourceDataState `json:"source_data"` }
Click to show internal directories.
Click to hide internal directories.