Documentation ¶
Index ¶
- type DataArgs
- type DataContext
- type DataContextAttributes
- func (c DataContextAttributes) InternalRef() (terra.Reference, error)
- func (c DataContextAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c DataContextAttributes) InternalWithRef(ref terra.Reference) DataContextAttributes
- func (c DataContextAttributes) Key() terra.StringValue
- func (c DataContextAttributes) Type() terra.StringValue
- func (c DataContextAttributes) Values() terra.SetValue[terra.StringValue]
- type DataContextState
- type DataResultsAttributes
- func (r DataResultsAttributes) ActionName() terra.StringValue
- func (r DataResultsAttributes) Allowed() terra.BoolValue
- func (r DataResultsAttributes) Decision() terra.StringValue
- func (r DataResultsAttributes) DecisionDetails() terra.MapValue[terra.StringValue]
- func (r DataResultsAttributes) InternalRef() (terra.Reference, error)
- func (r DataResultsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r DataResultsAttributes) InternalWithRef(ref terra.Reference) DataResultsAttributes
- func (r DataResultsAttributes) MatchedStatements() terra.SetValue[DataResultsMatchedStatementsAttributes]
- func (r DataResultsAttributes) MissingContextKeys() terra.SetValue[terra.StringValue]
- func (r DataResultsAttributes) ResourceArn() terra.StringValue
- type DataResultsMatchedStatementsAttributes
- func (ms DataResultsMatchedStatementsAttributes) InternalRef() (terra.Reference, error)
- func (ms DataResultsMatchedStatementsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ms DataResultsMatchedStatementsAttributes) InternalWithRef(ref terra.Reference) DataResultsMatchedStatementsAttributes
- func (ms DataResultsMatchedStatementsAttributes) SourcePolicyId() terra.StringValue
- func (ms DataResultsMatchedStatementsAttributes) SourcePolicyType() terra.StringValue
- type DataResultsMatchedStatementsState
- type DataResultsState
- type DataSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataArgs ¶
type DataArgs struct { // ActionNames: set of string, required ActionNames terra.SetValue[terra.StringValue] `hcl:"action_names,attr" validate:"required"` // AdditionalPoliciesJson: set of string, optional AdditionalPoliciesJson terra.SetValue[terra.StringValue] `hcl:"additional_policies_json,attr"` // CallerArn: string, optional CallerArn terra.StringValue `hcl:"caller_arn,attr"` // PermissionsBoundaryPoliciesJson: set of string, optional PermissionsBoundaryPoliciesJson terra.SetValue[terra.StringValue] `hcl:"permissions_boundary_policies_json,attr"` // PolicySourceArn: string, required PolicySourceArn terra.StringValue `hcl:"policy_source_arn,attr" validate:"required"` // ResourceArns: set of string, optional ResourceArns terra.SetValue[terra.StringValue] `hcl:"resource_arns,attr"` // ResourceHandlingOption: string, optional ResourceHandlingOption terra.StringValue `hcl:"resource_handling_option,attr"` // ResourceOwnerAccountId: string, optional ResourceOwnerAccountId terra.StringValue `hcl:"resource_owner_account_id,attr"` // ResourcePolicyJson: string, optional ResourcePolicyJson terra.StringValue `hcl:"resource_policy_json,attr"` // Context: min=0 Context []DataContext `hcl:"context,block" validate:"min=0"` }
DataArgs contains the configurations for aws_iam_principal_policy_simulation.
type DataContext ¶
type DataContext struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` // Values: set of string, required Values terra.SetValue[terra.StringValue] `hcl:"values,attr" validate:"required"` }
type DataContextAttributes ¶
type DataContextAttributes struct {
// contains filtered or unexported fields
}
func (DataContextAttributes) InternalRef ¶
func (c DataContextAttributes) InternalRef() (terra.Reference, error)
func (DataContextAttributes) InternalTokens ¶
func (c DataContextAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataContextAttributes) InternalWithRef ¶
func (c DataContextAttributes) InternalWithRef(ref terra.Reference) DataContextAttributes
func (DataContextAttributes) Key ¶
func (c DataContextAttributes) Key() terra.StringValue
func (DataContextAttributes) Type ¶
func (c DataContextAttributes) Type() terra.StringValue
func (DataContextAttributes) Values ¶
func (c DataContextAttributes) Values() terra.SetValue[terra.StringValue]
type DataContextState ¶
type DataResultsAttributes ¶
type DataResultsAttributes struct {
// contains filtered or unexported fields
}
func (DataResultsAttributes) ActionName ¶
func (r DataResultsAttributes) ActionName() terra.StringValue
func (DataResultsAttributes) Allowed ¶
func (r DataResultsAttributes) Allowed() terra.BoolValue
func (DataResultsAttributes) Decision ¶
func (r DataResultsAttributes) Decision() terra.StringValue
func (DataResultsAttributes) DecisionDetails ¶
func (r DataResultsAttributes) DecisionDetails() terra.MapValue[terra.StringValue]
func (DataResultsAttributes) InternalRef ¶
func (r DataResultsAttributes) InternalRef() (terra.Reference, error)
func (DataResultsAttributes) InternalTokens ¶
func (r DataResultsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataResultsAttributes) InternalWithRef ¶
func (r DataResultsAttributes) InternalWithRef(ref terra.Reference) DataResultsAttributes
func (DataResultsAttributes) MatchedStatements ¶
func (r DataResultsAttributes) MatchedStatements() terra.SetValue[DataResultsMatchedStatementsAttributes]
func (DataResultsAttributes) MissingContextKeys ¶
func (r DataResultsAttributes) MissingContextKeys() terra.SetValue[terra.StringValue]
func (DataResultsAttributes) ResourceArn ¶
func (r DataResultsAttributes) ResourceArn() terra.StringValue
type DataResultsMatchedStatementsAttributes ¶
type DataResultsMatchedStatementsAttributes struct {
// contains filtered or unexported fields
}
func (DataResultsMatchedStatementsAttributes) InternalRef ¶
func (ms DataResultsMatchedStatementsAttributes) InternalRef() (terra.Reference, error)
func (DataResultsMatchedStatementsAttributes) InternalTokens ¶
func (ms DataResultsMatchedStatementsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataResultsMatchedStatementsAttributes) InternalWithRef ¶
func (ms DataResultsMatchedStatementsAttributes) InternalWithRef(ref terra.Reference) DataResultsMatchedStatementsAttributes
func (DataResultsMatchedStatementsAttributes) SourcePolicyId ¶
func (ms DataResultsMatchedStatementsAttributes) SourcePolicyId() terra.StringValue
func (DataResultsMatchedStatementsAttributes) SourcePolicyType ¶
func (ms DataResultsMatchedStatementsAttributes) SourcePolicyType() terra.StringValue
type DataResultsState ¶
type DataResultsState struct { ActionName string `json:"action_name"` Allowed bool `json:"allowed"` Decision string `json:"decision"` DecisionDetails map[string]string `json:"decision_details"` MissingContextKeys []string `json:"missing_context_keys"` ResourceArn string `json:"resource_arn"` MatchedStatements []DataResultsMatchedStatementsState `json:"matched_statements"` }
type DataSource ¶
DataSource represents the Terraform data resource aws_iam_principal_policy_simulation.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (aipps *DataSource) Attributes() dataAwsIamPrincipalPolicySimulationAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (aipps *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (aipps *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (aipps *DataSource) LocalName() string
LocalName returns the local name for DataSource.
Click to show internal directories.
Click to hide internal directories.