Documentation ¶
Index ¶
- type Args
- type Resource
- func (asals *Resource) Attributes() awsSecuritylakeAwsLogSourceAttributes
- func (asals *Resource) Configuration() interface{}
- func (asals *Resource) DependOn() terra.Reference
- func (asals *Resource) Dependencies() terra.Dependencies
- func (asals *Resource) ImportState(state io.Reader) error
- func (asals *Resource) LifecycleManagement() *terra.Lifecycle
- func (asals *Resource) LocalName() string
- func (asals *Resource) State() (*awsSecuritylakeAwsLogSourceState, bool)
- func (asals *Resource) StateMust() *awsSecuritylakeAwsLogSourceState
- func (asals *Resource) Type() string
- type Source
- type SourceAttributes
- func (s SourceAttributes) Accounts() terra.SetValue[terra.StringValue]
- 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) Regions() terra.SetValue[terra.StringValue]
- func (s SourceAttributes) SourceName() terra.StringValue
- func (s SourceAttributes) SourceVersion() terra.StringValue
- type SourceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Source: min=0 Source []Source `hcl:"source,block" validate:"min=0"` }
Args contains the configurations for aws_securitylake_aws_log_source.
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_securitylake_aws_log_source.
func (*Resource) Attributes ¶
func (asals *Resource) Attributes() awsSecuritylakeAwsLogSourceAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asals *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asals *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 { // Accounts: set of string, optional Accounts terra.SetValue[terra.StringValue] `hcl:"accounts,attr"` // Regions: set of string, required Regions terra.SetValue[terra.StringValue] `hcl:"regions,attr" validate:"required"` // SourceName: string, required SourceName terra.StringValue `hcl:"source_name,attr" validate:"required"` // SourceVersion: string, optional SourceVersion terra.StringValue `hcl:"source_version,attr"` }
type SourceAttributes ¶
type SourceAttributes struct {
// contains filtered or unexported fields
}
func (SourceAttributes) Accounts ¶
func (s SourceAttributes) Accounts() terra.SetValue[terra.StringValue]
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) Regions ¶
func (s SourceAttributes) Regions() terra.SetValue[terra.StringValue]
func (SourceAttributes) SourceName ¶
func (s SourceAttributes) SourceName() terra.StringValue
func (SourceAttributes) SourceVersion ¶
func (s SourceAttributes) SourceVersion() terra.StringValue
Click to show internal directories.
Click to hide internal directories.