Documentation ¶
Index ¶
- type ApprovalRule
- type ApprovalRuleAttributes
- func (ar ApprovalRuleAttributes) ApproveAfterDays() terra.NumberValue
- func (ar ApprovalRuleAttributes) ApproveUntilDate() terra.StringValue
- func (ar ApprovalRuleAttributes) ComplianceLevel() terra.StringValue
- func (ar ApprovalRuleAttributes) EnableNonSecurity() terra.BoolValue
- func (ar ApprovalRuleAttributes) InternalRef() (terra.Reference, error)
- func (ar ApprovalRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ar ApprovalRuleAttributes) InternalWithRef(ref terra.Reference) ApprovalRuleAttributes
- func (ar ApprovalRuleAttributes) PatchFilter() terra.ListValue[ApprovalRulePatchFilterAttributes]
- type ApprovalRulePatchFilter
- type ApprovalRulePatchFilterAttributes
- func (pf ApprovalRulePatchFilterAttributes) InternalRef() (terra.Reference, error)
- func (pf ApprovalRulePatchFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pf ApprovalRulePatchFilterAttributes) InternalWithRef(ref terra.Reference) ApprovalRulePatchFilterAttributes
- func (pf ApprovalRulePatchFilterAttributes) Key() terra.StringValue
- func (pf ApprovalRulePatchFilterAttributes) Values() terra.ListValue[terra.StringValue]
- type ApprovalRulePatchFilterState
- type ApprovalRuleState
- type Args
- type DataApprovalRuleAttributes
- func (ar DataApprovalRuleAttributes) ApproveAfterDays() terra.NumberValue
- func (ar DataApprovalRuleAttributes) ApproveUntilDate() terra.StringValue
- func (ar DataApprovalRuleAttributes) ComplianceLevel() terra.StringValue
- func (ar DataApprovalRuleAttributes) EnableNonSecurity() terra.BoolValue
- func (ar DataApprovalRuleAttributes) InternalRef() (terra.Reference, error)
- func (ar DataApprovalRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ar DataApprovalRuleAttributes) InternalWithRef(ref terra.Reference) DataApprovalRuleAttributes
- func (ar DataApprovalRuleAttributes) PatchFilter() terra.ListValue[DataApprovalRulePatchFilterAttributes]
- type DataApprovalRulePatchFilterAttributes
- func (pf DataApprovalRulePatchFilterAttributes) InternalRef() (terra.Reference, error)
- func (pf DataApprovalRulePatchFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pf DataApprovalRulePatchFilterAttributes) InternalWithRef(ref terra.Reference) DataApprovalRulePatchFilterAttributes
- func (pf DataApprovalRulePatchFilterAttributes) Key() terra.StringValue
- func (pf DataApprovalRulePatchFilterAttributes) Values() terra.ListValue[terra.StringValue]
- type DataApprovalRulePatchFilterState
- type DataApprovalRuleState
- type DataArgs
- type DataGlobalFilterAttributes
- func (gf DataGlobalFilterAttributes) InternalRef() (terra.Reference, error)
- func (gf DataGlobalFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (gf DataGlobalFilterAttributes) InternalWithRef(ref terra.Reference) DataGlobalFilterAttributes
- func (gf DataGlobalFilterAttributes) Key() terra.StringValue
- func (gf DataGlobalFilterAttributes) Values() terra.ListValue[terra.StringValue]
- type DataGlobalFilterState
- type DataSource
- type DataSourceAttributes
- func (s DataSourceAttributes) Configuration() terra.StringValue
- func (s DataSourceAttributes) InternalRef() (terra.Reference, error)
- func (s DataSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s DataSourceAttributes) InternalWithRef(ref terra.Reference) DataSourceAttributes
- func (s DataSourceAttributes) Name() terra.StringValue
- func (s DataSourceAttributes) Products() terra.ListValue[terra.StringValue]
- type DataSourceState
- type GlobalFilter
- type GlobalFilterAttributes
- func (gf GlobalFilterAttributes) InternalRef() (terra.Reference, error)
- func (gf GlobalFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (gf GlobalFilterAttributes) InternalWithRef(ref terra.Reference) GlobalFilterAttributes
- func (gf GlobalFilterAttributes) Key() terra.StringValue
- func (gf GlobalFilterAttributes) Values() terra.ListValue[terra.StringValue]
- type GlobalFilterState
- type Resource
- func (aspb *Resource) Attributes() awsSsmPatchBaselineAttributes
- func (aspb *Resource) Configuration() interface{}
- func (aspb *Resource) DependOn() terra.Reference
- func (aspb *Resource) Dependencies() terra.Dependencies
- func (aspb *Resource) ImportState(state io.Reader) error
- func (aspb *Resource) LifecycleManagement() *terra.Lifecycle
- func (aspb *Resource) LocalName() string
- func (aspb *Resource) State() (*awsSsmPatchBaselineState, bool)
- func (aspb *Resource) StateMust() *awsSsmPatchBaselineState
- func (aspb *Resource) Type() string
- type Source
- type SourceAttributes
- func (s SourceAttributes) Configuration() 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) Name() terra.StringValue
- func (s SourceAttributes) Products() terra.ListValue[terra.StringValue]
- type SourceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApprovalRule ¶
type ApprovalRule struct { // ApproveAfterDays: number, optional ApproveAfterDays terra.NumberValue `hcl:"approve_after_days,attr"` // ApproveUntilDate: string, optional ApproveUntilDate terra.StringValue `hcl:"approve_until_date,attr"` // ComplianceLevel: string, optional ComplianceLevel terra.StringValue `hcl:"compliance_level,attr"` // EnableNonSecurity: bool, optional EnableNonSecurity terra.BoolValue `hcl:"enable_non_security,attr"` // ApprovalRulePatchFilter: min=1,max=10 PatchFilter []ApprovalRulePatchFilter `hcl:"patch_filter,block" validate:"min=1,max=10"` }
type ApprovalRuleAttributes ¶
type ApprovalRuleAttributes struct {
// contains filtered or unexported fields
}
func (ApprovalRuleAttributes) ApproveAfterDays ¶
func (ar ApprovalRuleAttributes) ApproveAfterDays() terra.NumberValue
func (ApprovalRuleAttributes) ApproveUntilDate ¶
func (ar ApprovalRuleAttributes) ApproveUntilDate() terra.StringValue
func (ApprovalRuleAttributes) ComplianceLevel ¶
func (ar ApprovalRuleAttributes) ComplianceLevel() terra.StringValue
func (ApprovalRuleAttributes) EnableNonSecurity ¶
func (ar ApprovalRuleAttributes) EnableNonSecurity() terra.BoolValue
func (ApprovalRuleAttributes) InternalRef ¶
func (ar ApprovalRuleAttributes) InternalRef() (terra.Reference, error)
func (ApprovalRuleAttributes) InternalTokens ¶
func (ar ApprovalRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ApprovalRuleAttributes) InternalWithRef ¶
func (ar ApprovalRuleAttributes) InternalWithRef(ref terra.Reference) ApprovalRuleAttributes
func (ApprovalRuleAttributes) PatchFilter ¶
func (ar ApprovalRuleAttributes) PatchFilter() terra.ListValue[ApprovalRulePatchFilterAttributes]
type ApprovalRulePatchFilter ¶
type ApprovalRulePatchFilter struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Values: list of string, required Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type ApprovalRulePatchFilterAttributes ¶
type ApprovalRulePatchFilterAttributes struct {
// contains filtered or unexported fields
}
func (ApprovalRulePatchFilterAttributes) InternalRef ¶
func (pf ApprovalRulePatchFilterAttributes) InternalRef() (terra.Reference, error)
func (ApprovalRulePatchFilterAttributes) InternalTokens ¶
func (pf ApprovalRulePatchFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ApprovalRulePatchFilterAttributes) InternalWithRef ¶
func (pf ApprovalRulePatchFilterAttributes) InternalWithRef(ref terra.Reference) ApprovalRulePatchFilterAttributes
func (ApprovalRulePatchFilterAttributes) Key ¶
func (pf ApprovalRulePatchFilterAttributes) Key() terra.StringValue
func (ApprovalRulePatchFilterAttributes) Values ¶
func (pf ApprovalRulePatchFilterAttributes) Values() terra.ListValue[terra.StringValue]
type ApprovalRuleState ¶
type ApprovalRuleState struct { ApproveAfterDays float64 `json:"approve_after_days"` ApproveUntilDate string `json:"approve_until_date"` ComplianceLevel string `json:"compliance_level"` EnableNonSecurity bool `json:"enable_non_security"` PatchFilter []ApprovalRulePatchFilterState `json:"patch_filter"` }
type Args ¶
type Args struct { // ApprovedPatches: set of string, optional ApprovedPatches terra.SetValue[terra.StringValue] `hcl:"approved_patches,attr"` // ApprovedPatchesComplianceLevel: string, optional ApprovedPatchesComplianceLevel terra.StringValue `hcl:"approved_patches_compliance_level,attr"` // ApprovedPatchesEnableNonSecurity: bool, optional ApprovedPatchesEnableNonSecurity terra.BoolValue `hcl:"approved_patches_enable_non_security,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // OperatingSystem: string, optional OperatingSystem terra.StringValue `hcl:"operating_system,attr"` // RejectedPatches: set of string, optional RejectedPatches terra.SetValue[terra.StringValue] `hcl:"rejected_patches,attr"` // RejectedPatchesAction: string, optional RejectedPatchesAction terra.StringValue `hcl:"rejected_patches_action,attr"` // 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"` // ApprovalRule: min=0 ApprovalRule []ApprovalRule `hcl:"approval_rule,block" validate:"min=0"` // GlobalFilter: min=0,max=4 GlobalFilter []GlobalFilter `hcl:"global_filter,block" validate:"min=0,max=4"` // Source: min=0,max=20 Source []Source `hcl:"source,block" validate:"min=0,max=20"` }
Args contains the configurations for aws_ssm_patch_baseline.
type DataApprovalRuleAttributes ¶
type DataApprovalRuleAttributes struct {
// contains filtered or unexported fields
}
func (DataApprovalRuleAttributes) ApproveAfterDays ¶
func (ar DataApprovalRuleAttributes) ApproveAfterDays() terra.NumberValue
func (DataApprovalRuleAttributes) ApproveUntilDate ¶
func (ar DataApprovalRuleAttributes) ApproveUntilDate() terra.StringValue
func (DataApprovalRuleAttributes) ComplianceLevel ¶
func (ar DataApprovalRuleAttributes) ComplianceLevel() terra.StringValue
func (DataApprovalRuleAttributes) EnableNonSecurity ¶
func (ar DataApprovalRuleAttributes) EnableNonSecurity() terra.BoolValue
func (DataApprovalRuleAttributes) InternalRef ¶
func (ar DataApprovalRuleAttributes) InternalRef() (terra.Reference, error)
func (DataApprovalRuleAttributes) InternalTokens ¶
func (ar DataApprovalRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataApprovalRuleAttributes) InternalWithRef ¶
func (ar DataApprovalRuleAttributes) InternalWithRef(ref terra.Reference) DataApprovalRuleAttributes
func (DataApprovalRuleAttributes) PatchFilter ¶
func (ar DataApprovalRuleAttributes) PatchFilter() terra.ListValue[DataApprovalRulePatchFilterAttributes]
type DataApprovalRulePatchFilterAttributes ¶
type DataApprovalRulePatchFilterAttributes struct {
// contains filtered or unexported fields
}
func (DataApprovalRulePatchFilterAttributes) InternalRef ¶
func (pf DataApprovalRulePatchFilterAttributes) InternalRef() (terra.Reference, error)
func (DataApprovalRulePatchFilterAttributes) InternalTokens ¶
func (pf DataApprovalRulePatchFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataApprovalRulePatchFilterAttributes) InternalWithRef ¶
func (pf DataApprovalRulePatchFilterAttributes) InternalWithRef(ref terra.Reference) DataApprovalRulePatchFilterAttributes
func (DataApprovalRulePatchFilterAttributes) Key ¶
func (pf DataApprovalRulePatchFilterAttributes) Key() terra.StringValue
func (DataApprovalRulePatchFilterAttributes) Values ¶
func (pf DataApprovalRulePatchFilterAttributes) Values() terra.ListValue[terra.StringValue]
type DataApprovalRuleState ¶
type DataApprovalRuleState struct { ApproveAfterDays float64 `json:"approve_after_days"` ApproveUntilDate string `json:"approve_until_date"` ComplianceLevel string `json:"compliance_level"` EnableNonSecurity bool `json:"enable_non_security"` PatchFilter []DataApprovalRulePatchFilterState `json:"patch_filter"` }
type DataArgs ¶
type DataArgs struct { // DefaultBaseline: bool, optional DefaultBaseline terra.BoolValue `hcl:"default_baseline,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // NamePrefix: string, optional NamePrefix terra.StringValue `hcl:"name_prefix,attr"` // OperatingSystem: string, optional OperatingSystem terra.StringValue `hcl:"operating_system,attr"` // Owner: string, required Owner terra.StringValue `hcl:"owner,attr" validate:"required"` }
DataArgs contains the configurations for aws_ssm_patch_baseline.
type DataGlobalFilterAttributes ¶
type DataGlobalFilterAttributes struct {
// contains filtered or unexported fields
}
func (DataGlobalFilterAttributes) InternalRef ¶
func (gf DataGlobalFilterAttributes) InternalRef() (terra.Reference, error)
func (DataGlobalFilterAttributes) InternalTokens ¶
func (gf DataGlobalFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataGlobalFilterAttributes) InternalWithRef ¶
func (gf DataGlobalFilterAttributes) InternalWithRef(ref terra.Reference) DataGlobalFilterAttributes
func (DataGlobalFilterAttributes) Key ¶
func (gf DataGlobalFilterAttributes) Key() terra.StringValue
func (DataGlobalFilterAttributes) Values ¶
func (gf DataGlobalFilterAttributes) Values() terra.ListValue[terra.StringValue]
type DataGlobalFilterState ¶
type DataSource ¶
DataSource represents the Terraform data resource aws_ssm_patch_baseline.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (aspb *DataSource) Attributes() dataAwsSsmPatchBaselineAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (aspb *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (aspb *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (aspb *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type DataSourceAttributes ¶
type DataSourceAttributes struct {
// contains filtered or unexported fields
}
func (DataSourceAttributes) Configuration ¶
func (s DataSourceAttributes) Configuration() terra.StringValue
func (DataSourceAttributes) InternalRef ¶
func (s DataSourceAttributes) InternalRef() (terra.Reference, error)
func (DataSourceAttributes) InternalTokens ¶
func (s DataSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataSourceAttributes) InternalWithRef ¶
func (s DataSourceAttributes) InternalWithRef(ref terra.Reference) DataSourceAttributes
func (DataSourceAttributes) Name ¶
func (s DataSourceAttributes) Name() terra.StringValue
func (DataSourceAttributes) Products ¶
func (s DataSourceAttributes) Products() terra.ListValue[terra.StringValue]
type DataSourceState ¶
type GlobalFilter ¶
type GlobalFilter struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Values: list of string, required Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type GlobalFilterAttributes ¶
type GlobalFilterAttributes struct {
// contains filtered or unexported fields
}
func (GlobalFilterAttributes) InternalRef ¶
func (gf GlobalFilterAttributes) InternalRef() (terra.Reference, error)
func (GlobalFilterAttributes) InternalTokens ¶
func (gf GlobalFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (GlobalFilterAttributes) InternalWithRef ¶
func (gf GlobalFilterAttributes) InternalWithRef(ref terra.Reference) GlobalFilterAttributes
func (GlobalFilterAttributes) Key ¶
func (gf GlobalFilterAttributes) Key() terra.StringValue
func (GlobalFilterAttributes) Values ¶
func (gf GlobalFilterAttributes) Values() terra.ListValue[terra.StringValue]
type GlobalFilterState ¶
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_ssm_patch_baseline.
func (*Resource) Attributes ¶
func (aspb *Resource) Attributes() awsSsmPatchBaselineAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aspb *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aspb *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 { // Configuration: string, required Configuration terra.StringValue `hcl:"configuration,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Products: list of string, required Products terra.ListValue[terra.StringValue] `hcl:"products,attr" validate:"required"` }
type SourceAttributes ¶
type SourceAttributes struct {
// contains filtered or unexported fields
}
func (SourceAttributes) Configuration ¶
func (s SourceAttributes) Configuration() 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) Name ¶
func (s SourceAttributes) Name() terra.StringValue
func (SourceAttributes) Products ¶
func (s SourceAttributes) Products() terra.ListValue[terra.StringValue]