google_access_context_manager_service_perimeters

package
v0.0.0-...-4deecce 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 {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Parent: string, required
	Parent terra.StringValue `hcl:"parent,attr" validate:"required"`
	// ServicePerimeters: min=0
	ServicePerimeters []ServicePerimeters `hcl:"service_perimeters,block" validate:"min=0"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for google_access_context_manager_service_perimeters.

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 google_access_context_manager_service_perimeters.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (gacmsp *Resource) Attributes() googleAccessContextManagerServicePerimetersAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (gacmsp *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (gacmsp *Resource) State() (*googleAccessContextManagerServicePerimetersState, bool)

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

func (*Resource) StateMust

func (gacmsp *Resource) StateMust() *googleAccessContextManagerServicePerimetersState

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

func (*Resource) Type

func (gacmsp *Resource) Type() string

Type returns the Terraform object type for Resource.

type ServicePerimeters

type ServicePerimeters struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// PerimeterType: string, optional
	PerimeterType terra.StringValue `hcl:"perimeter_type,attr"`
	// Title: string, required
	Title terra.StringValue `hcl:"title,attr" validate:"required"`
	// UseExplicitDryRunSpec: bool, optional
	UseExplicitDryRunSpec terra.BoolValue `hcl:"use_explicit_dry_run_spec,attr"`
	// ServicePerimetersSpec: optional
	Spec *ServicePerimetersSpec `hcl:"spec,block"`
	// ServicePerimetersStatus: optional
	Status *ServicePerimetersStatus `hcl:"status,block"`
}

type ServicePerimetersAttributes

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

func (ServicePerimetersAttributes) CreateTime

func (ServicePerimetersAttributes) Description

func (ServicePerimetersAttributes) InternalRef

func (sp ServicePerimetersAttributes) InternalRef() (terra.Reference, error)

func (ServicePerimetersAttributes) InternalTokens

func (sp ServicePerimetersAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ServicePerimetersAttributes) InternalWithRef

func (ServicePerimetersAttributes) Name

func (ServicePerimetersAttributes) PerimeterType

func (sp ServicePerimetersAttributes) PerimeterType() terra.StringValue

func (ServicePerimetersAttributes) Spec

func (ServicePerimetersAttributes) Status

func (ServicePerimetersAttributes) Title

func (ServicePerimetersAttributes) UpdateTime

func (ServicePerimetersAttributes) UseExplicitDryRunSpec

func (sp ServicePerimetersAttributes) UseExplicitDryRunSpec() terra.BoolValue

type ServicePerimetersSpec

type ServicePerimetersSpec struct {
	// AccessLevels: set of string, optional
	AccessLevels terra.SetValue[terra.StringValue] `hcl:"access_levels,attr"`
	// Resources: set of string, optional
	Resources terra.SetValue[terra.StringValue] `hcl:"resources,attr"`
	// RestrictedServices: set of string, optional
	RestrictedServices terra.SetValue[terra.StringValue] `hcl:"restricted_services,attr"`
	// ServicePerimetersSpecEgressPolicies: min=0
	EgressPolicies []ServicePerimetersSpecEgressPolicies `hcl:"egress_policies,block" validate:"min=0"`
	// ServicePerimetersSpecIngressPolicies: min=0
	IngressPolicies []ServicePerimetersSpecIngressPolicies `hcl:"ingress_policies,block" validate:"min=0"`
	// ServicePerimetersSpecVpcAccessibleServices: optional
	VpcAccessibleServices *ServicePerimetersSpecVpcAccessibleServices `hcl:"vpc_accessible_services,block"`
}

type ServicePerimetersSpec19B117Db

type ServicePerimetersSpec19B117Db struct {
	// Method: string, optional
	Method terra.StringValue `hcl:"method,attr"`
	// Permission: string, optional
	Permission terra.StringValue `hcl:"permission,attr"`
}

type ServicePerimetersSpec19B117DbAttributes

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

func (ServicePerimetersSpec19B117DbAttributes) InternalRef

func (ServicePerimetersSpec19B117DbAttributes) InternalTokens

func (ServicePerimetersSpec19B117DbAttributes) InternalWithRef

func (ServicePerimetersSpec19B117DbAttributes) Method

func (ServicePerimetersSpec19B117DbAttributes) Permission

type ServicePerimetersSpec19B117DbState

type ServicePerimetersSpec19B117DbState struct {
	Method     string `json:"method"`
	Permission string `json:"permission"`
}

type ServicePerimetersSpec1Cc6251D

type ServicePerimetersSpec1Cc6251D struct {
	// AccessLevel: string, optional
	AccessLevel terra.StringValue `hcl:"access_level,attr"`
	// Resource: string, optional
	Resource terra.StringValue `hcl:"resource,attr"`
}

type ServicePerimetersSpec1Cc6251DAttributes

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

func (ServicePerimetersSpec1Cc6251DAttributes) AccessLevel

func (ServicePerimetersSpec1Cc6251DAttributes) InternalRef

func (ServicePerimetersSpec1Cc6251DAttributes) InternalTokens

func (ServicePerimetersSpec1Cc6251DAttributes) InternalWithRef

func (ServicePerimetersSpec1Cc6251DAttributes) Resource

type ServicePerimetersSpec1Cc6251DState

type ServicePerimetersSpec1Cc6251DState struct {
	AccessLevel string `json:"access_level"`
	Resource    string `json:"resource"`
}

type ServicePerimetersSpec79F8Dcc5

type ServicePerimetersSpec79F8Dcc5 struct {
	// Method: string, optional
	Method terra.StringValue `hcl:"method,attr"`
	// Permission: string, optional
	Permission terra.StringValue `hcl:"permission,attr"`
}

type ServicePerimetersSpec79F8Dcc5Attributes

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

func (ServicePerimetersSpec79F8Dcc5Attributes) InternalRef

func (ServicePerimetersSpec79F8Dcc5Attributes) InternalTokens

func (ServicePerimetersSpec79F8Dcc5Attributes) InternalWithRef

func (ServicePerimetersSpec79F8Dcc5Attributes) Method

func (ServicePerimetersSpec79F8Dcc5Attributes) Permission

type ServicePerimetersSpec79F8Dcc5State

type ServicePerimetersSpec79F8Dcc5State struct {
	Method     string `json:"method"`
	Permission string `json:"permission"`
}

type ServicePerimetersSpec7D1139E7

type ServicePerimetersSpec7D1139E7 struct {
	// ServiceName: string, optional
	ServiceName terra.StringValue `hcl:"service_name,attr"`
	// ServicePerimetersSpec79F8Dcc5: min=0
	MethodSelectors []ServicePerimetersSpec79F8Dcc5 `hcl:"method_selectors,block" validate:"min=0"`
}

type ServicePerimetersSpec7D1139E7Attributes

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

func (ServicePerimetersSpec7D1139E7Attributes) InternalRef

func (ServicePerimetersSpec7D1139E7Attributes) InternalTokens

func (ServicePerimetersSpec7D1139E7Attributes) InternalWithRef

func (ServicePerimetersSpec7D1139E7Attributes) MethodSelectors

func (ServicePerimetersSpec7D1139E7Attributes) ServiceName

type ServicePerimetersSpec7D1139E7State

type ServicePerimetersSpec7D1139E7State struct {
	ServiceName     string                               `json:"service_name"`
	MethodSelectors []ServicePerimetersSpec79F8Dcc5State `json:"method_selectors"`
}

type ServicePerimetersSpec8Ced8Bb6

type ServicePerimetersSpec8Ced8Bb6 struct {
	// AccessLevel: string, optional
	AccessLevel terra.StringValue `hcl:"access_level,attr"`
}

type ServicePerimetersSpec8Ced8Bb6Attributes

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

func (ServicePerimetersSpec8Ced8Bb6Attributes) AccessLevel

func (ServicePerimetersSpec8Ced8Bb6Attributes) InternalRef

func (ServicePerimetersSpec8Ced8Bb6Attributes) InternalTokens

func (ServicePerimetersSpec8Ced8Bb6Attributes) InternalWithRef

type ServicePerimetersSpec8Ced8Bb6State

type ServicePerimetersSpec8Ced8Bb6State struct {
	AccessLevel string `json:"access_level"`
}

type ServicePerimetersSpec8E8D582B

type ServicePerimetersSpec8E8D582B struct {
	// ServiceName: string, optional
	ServiceName terra.StringValue `hcl:"service_name,attr"`
	// ServicePerimetersSpec19B117Db: min=0
	MethodSelectors []ServicePerimetersSpec19B117Db `hcl:"method_selectors,block" validate:"min=0"`
}

type ServicePerimetersSpec8E8D582BAttributes

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

func (ServicePerimetersSpec8E8D582BAttributes) InternalRef

func (ServicePerimetersSpec8E8D582BAttributes) InternalTokens

func (ServicePerimetersSpec8E8D582BAttributes) InternalWithRef

func (ServicePerimetersSpec8E8D582BAttributes) MethodSelectors

func (ServicePerimetersSpec8E8D582BAttributes) ServiceName

type ServicePerimetersSpec8E8D582BState

type ServicePerimetersSpec8E8D582BState struct {
	ServiceName     string                               `json:"service_name"`
	MethodSelectors []ServicePerimetersSpec19B117DbState `json:"method_selectors"`
}

type ServicePerimetersSpecAttributes

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

func (ServicePerimetersSpecAttributes) AccessLevels

func (ServicePerimetersSpecAttributes) EgressPolicies

func (ServicePerimetersSpecAttributes) IngressPolicies

func (ServicePerimetersSpecAttributes) InternalRef

func (ServicePerimetersSpecAttributes) InternalTokens

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

func (ServicePerimetersSpecAttributes) InternalWithRef

func (ServicePerimetersSpecAttributes) Resources

func (ServicePerimetersSpecAttributes) RestrictedServices

func (ServicePerimetersSpecAttributes) VpcAccessibleServices

type ServicePerimetersSpecEgressPolicies

type ServicePerimetersSpecEgressPolicies struct {
	// ServicePerimetersSpecEgressPoliciesEgressFrom: optional
	EgressFrom *ServicePerimetersSpecEgressPoliciesEgressFrom `hcl:"egress_from,block"`
	// ServicePerimetersSpecEgressPoliciesEgressTo: optional
	EgressTo *ServicePerimetersSpecEgressPoliciesEgressTo `hcl:"egress_to,block"`
}

type ServicePerimetersSpecEgressPoliciesAttributes

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

func (ServicePerimetersSpecEgressPoliciesAttributes) EgressFrom

func (ServicePerimetersSpecEgressPoliciesAttributes) EgressTo

func (ServicePerimetersSpecEgressPoliciesAttributes) InternalRef

func (ServicePerimetersSpecEgressPoliciesAttributes) InternalTokens

func (ServicePerimetersSpecEgressPoliciesAttributes) InternalWithRef

type ServicePerimetersSpecEgressPoliciesEgressFrom

type ServicePerimetersSpecEgressPoliciesEgressFrom struct {
	// Identities: set of string, optional
	Identities terra.SetValue[terra.StringValue] `hcl:"identities,attr"`
	// IdentityType: string, optional
	IdentityType terra.StringValue `hcl:"identity_type,attr"`
	// SourceRestriction: string, optional
	SourceRestriction terra.StringValue `hcl:"source_restriction,attr"`
	// ServicePerimetersSpec8Ced8Bb6: min=0
	Sources []ServicePerimetersSpec8Ced8Bb6 `hcl:"sources,block" validate:"min=0"`
}

type ServicePerimetersSpecEgressPoliciesEgressFromAttributes

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

func (ServicePerimetersSpecEgressPoliciesEgressFromAttributes) Identities

func (ServicePerimetersSpecEgressPoliciesEgressFromAttributes) IdentityType

func (ServicePerimetersSpecEgressPoliciesEgressFromAttributes) InternalRef

func (ServicePerimetersSpecEgressPoliciesEgressFromAttributes) InternalTokens

func (ServicePerimetersSpecEgressPoliciesEgressFromAttributes) InternalWithRef

func (ServicePerimetersSpecEgressPoliciesEgressFromAttributes) SourceRestriction

func (ServicePerimetersSpecEgressPoliciesEgressFromAttributes) Sources

type ServicePerimetersSpecEgressPoliciesEgressFromState

type ServicePerimetersSpecEgressPoliciesEgressFromState struct {
	Identities        []string                             `json:"identities"`
	IdentityType      string                               `json:"identity_type"`
	SourceRestriction string                               `json:"source_restriction"`
	Sources           []ServicePerimetersSpec8Ced8Bb6State `json:"sources"`
}

type ServicePerimetersSpecEgressPoliciesEgressTo

type ServicePerimetersSpecEgressPoliciesEgressTo struct {
	// ExternalResources: set of string, optional
	ExternalResources terra.SetValue[terra.StringValue] `hcl:"external_resources,attr"`
	// Resources: set of string, optional
	Resources terra.SetValue[terra.StringValue] `hcl:"resources,attr"`
	// ServicePerimetersSpec7D1139E7: min=0
	Operations []ServicePerimetersSpec7D1139E7 `hcl:"operations,block" validate:"min=0"`
}

type ServicePerimetersSpecEgressPoliciesEgressToAttributes

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

func (ServicePerimetersSpecEgressPoliciesEgressToAttributes) ExternalResources

func (ServicePerimetersSpecEgressPoliciesEgressToAttributes) InternalRef

func (ServicePerimetersSpecEgressPoliciesEgressToAttributes) InternalTokens

func (ServicePerimetersSpecEgressPoliciesEgressToAttributes) InternalWithRef

func (ServicePerimetersSpecEgressPoliciesEgressToAttributes) Operations

func (ServicePerimetersSpecEgressPoliciesEgressToAttributes) Resources

type ServicePerimetersSpecEgressPoliciesEgressToState

type ServicePerimetersSpecEgressPoliciesEgressToState struct {
	ExternalResources []string                             `json:"external_resources"`
	Resources         []string                             `json:"resources"`
	Operations        []ServicePerimetersSpec7D1139E7State `json:"operations"`
}

type ServicePerimetersSpecEgressPoliciesState

type ServicePerimetersSpecEgressPoliciesState struct {
	EgressFrom []ServicePerimetersSpecEgressPoliciesEgressFromState `json:"egress_from"`
	EgressTo   []ServicePerimetersSpecEgressPoliciesEgressToState   `json:"egress_to"`
}

type ServicePerimetersSpecIngressPolicies

type ServicePerimetersSpecIngressPolicies struct {
	// ServicePerimetersSpecIngressPoliciesIngressFrom: optional
	IngressFrom *ServicePerimetersSpecIngressPoliciesIngressFrom `hcl:"ingress_from,block"`
	// ServicePerimetersSpecIngressPoliciesIngressTo: optional
	IngressTo *ServicePerimetersSpecIngressPoliciesIngressTo `hcl:"ingress_to,block"`
}

type ServicePerimetersSpecIngressPoliciesAttributes

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

func (ServicePerimetersSpecIngressPoliciesAttributes) IngressTo

func (ServicePerimetersSpecIngressPoliciesAttributes) InternalRef

func (ServicePerimetersSpecIngressPoliciesAttributes) InternalTokens

func (ServicePerimetersSpecIngressPoliciesAttributes) InternalWithRef

type ServicePerimetersSpecIngressPoliciesIngressFrom

type ServicePerimetersSpecIngressPoliciesIngressFrom struct {
	// Identities: set of string, optional
	Identities terra.SetValue[terra.StringValue] `hcl:"identities,attr"`
	// IdentityType: string, optional
	IdentityType terra.StringValue `hcl:"identity_type,attr"`
	// ServicePerimetersSpec1Cc6251D: min=0
	Sources []ServicePerimetersSpec1Cc6251D `hcl:"sources,block" validate:"min=0"`
}

type ServicePerimetersSpecIngressPoliciesIngressFromAttributes

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

func (ServicePerimetersSpecIngressPoliciesIngressFromAttributes) Identities

func (ServicePerimetersSpecIngressPoliciesIngressFromAttributes) IdentityType

func (ServicePerimetersSpecIngressPoliciesIngressFromAttributes) InternalRef

func (ServicePerimetersSpecIngressPoliciesIngressFromAttributes) InternalTokens

func (ServicePerimetersSpecIngressPoliciesIngressFromAttributes) InternalWithRef

func (ServicePerimetersSpecIngressPoliciesIngressFromAttributes) Sources

type ServicePerimetersSpecIngressPoliciesIngressFromState

type ServicePerimetersSpecIngressPoliciesIngressFromState struct {
	Identities   []string                             `json:"identities"`
	IdentityType string                               `json:"identity_type"`
	Sources      []ServicePerimetersSpec1Cc6251DState `json:"sources"`
}

type ServicePerimetersSpecIngressPoliciesIngressTo

type ServicePerimetersSpecIngressPoliciesIngressTo struct {
	// Resources: set of string, optional
	Resources terra.SetValue[terra.StringValue] `hcl:"resources,attr"`
	// ServicePerimetersSpec8E8D582B: min=0
	Operations []ServicePerimetersSpec8E8D582B `hcl:"operations,block" validate:"min=0"`
}

type ServicePerimetersSpecIngressPoliciesIngressToAttributes

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

func (ServicePerimetersSpecIngressPoliciesIngressToAttributes) InternalRef

func (ServicePerimetersSpecIngressPoliciesIngressToAttributes) InternalTokens

func (ServicePerimetersSpecIngressPoliciesIngressToAttributes) InternalWithRef

func (ServicePerimetersSpecIngressPoliciesIngressToAttributes) Operations

func (ServicePerimetersSpecIngressPoliciesIngressToAttributes) Resources

type ServicePerimetersSpecIngressPoliciesIngressToState

type ServicePerimetersSpecIngressPoliciesIngressToState struct {
	Resources  []string                             `json:"resources"`
	Operations []ServicePerimetersSpec8E8D582BState `json:"operations"`
}

type ServicePerimetersSpecIngressPoliciesState

type ServicePerimetersSpecIngressPoliciesState struct {
	IngressFrom []ServicePerimetersSpecIngressPoliciesIngressFromState `json:"ingress_from"`
	IngressTo   []ServicePerimetersSpecIngressPoliciesIngressToState   `json:"ingress_to"`
}

type ServicePerimetersSpecState

type ServicePerimetersSpecState struct {
	AccessLevels          []string                                          `json:"access_levels"`
	Resources             []string                                          `json:"resources"`
	RestrictedServices    []string                                          `json:"restricted_services"`
	EgressPolicies        []ServicePerimetersSpecEgressPoliciesState        `json:"egress_policies"`
	IngressPolicies       []ServicePerimetersSpecIngressPoliciesState       `json:"ingress_policies"`
	VpcAccessibleServices []ServicePerimetersSpecVpcAccessibleServicesState `json:"vpc_accessible_services"`
}

type ServicePerimetersSpecVpcAccessibleServices

type ServicePerimetersSpecVpcAccessibleServices struct {
	// AllowedServices: set of string, optional
	AllowedServices terra.SetValue[terra.StringValue] `hcl:"allowed_services,attr"`
	// EnableRestriction: bool, optional
	EnableRestriction terra.BoolValue `hcl:"enable_restriction,attr"`
}

type ServicePerimetersSpecVpcAccessibleServicesAttributes

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

func (ServicePerimetersSpecVpcAccessibleServicesAttributes) AllowedServices

func (ServicePerimetersSpecVpcAccessibleServicesAttributes) EnableRestriction

func (ServicePerimetersSpecVpcAccessibleServicesAttributes) InternalRef

func (ServicePerimetersSpecVpcAccessibleServicesAttributes) InternalTokens

func (ServicePerimetersSpecVpcAccessibleServicesAttributes) InternalWithRef

type ServicePerimetersSpecVpcAccessibleServicesState

type ServicePerimetersSpecVpcAccessibleServicesState struct {
	AllowedServices   []string `json:"allowed_services"`
	EnableRestriction bool     `json:"enable_restriction"`
}

type ServicePerimetersState

type ServicePerimetersState struct {
	CreateTime            string                         `json:"create_time"`
	Description           string                         `json:"description"`
	Name                  string                         `json:"name"`
	PerimeterType         string                         `json:"perimeter_type"`
	Title                 string                         `json:"title"`
	UpdateTime            string                         `json:"update_time"`
	UseExplicitDryRunSpec bool                           `json:"use_explicit_dry_run_spec"`
	Spec                  []ServicePerimetersSpecState   `json:"spec"`
	Status                []ServicePerimetersStatusState `json:"status"`
}

type ServicePerimetersStatus

type ServicePerimetersStatus struct {
	// AccessLevels: set of string, optional
	AccessLevels terra.SetValue[terra.StringValue] `hcl:"access_levels,attr"`
	// Resources: set of string, optional
	Resources terra.SetValue[terra.StringValue] `hcl:"resources,attr"`
	// RestrictedServices: set of string, optional
	RestrictedServices terra.SetValue[terra.StringValue] `hcl:"restricted_services,attr"`
	// ServicePerimetersStatusEgressPolicies: min=0
	EgressPolicies []ServicePerimetersStatusEgressPolicies `hcl:"egress_policies,block" validate:"min=0"`
	// ServicePerimetersStatusIngressPolicies: min=0
	IngressPolicies []ServicePerimetersStatusIngressPolicies `hcl:"ingress_policies,block" validate:"min=0"`
	// ServicePerimetersStatusVpcAccessibleServices: optional
	VpcAccessibleServices *ServicePerimetersStatusVpcAccessibleServices `hcl:"vpc_accessible_services,block"`
}

type ServicePerimetersStatus19B117Db

type ServicePerimetersStatus19B117Db struct {
	// Method: string, optional
	Method terra.StringValue `hcl:"method,attr"`
	// Permission: string, optional
	Permission terra.StringValue `hcl:"permission,attr"`
}

type ServicePerimetersStatus19B117DbAttributes

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

func (ServicePerimetersStatus19B117DbAttributes) InternalRef

func (ServicePerimetersStatus19B117DbAttributes) InternalTokens

func (ServicePerimetersStatus19B117DbAttributes) InternalWithRef

func (ServicePerimetersStatus19B117DbAttributes) Method

func (ServicePerimetersStatus19B117DbAttributes) Permission

type ServicePerimetersStatus19B117DbState

type ServicePerimetersStatus19B117DbState struct {
	Method     string `json:"method"`
	Permission string `json:"permission"`
}

type ServicePerimetersStatus1Cc6251D

type ServicePerimetersStatus1Cc6251D struct {
	// AccessLevel: string, optional
	AccessLevel terra.StringValue `hcl:"access_level,attr"`
	// Resource: string, optional
	Resource terra.StringValue `hcl:"resource,attr"`
}

type ServicePerimetersStatus1Cc6251DAttributes

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

func (ServicePerimetersStatus1Cc6251DAttributes) AccessLevel

func (ServicePerimetersStatus1Cc6251DAttributes) InternalRef

func (ServicePerimetersStatus1Cc6251DAttributes) InternalTokens

func (ServicePerimetersStatus1Cc6251DAttributes) InternalWithRef

func (ServicePerimetersStatus1Cc6251DAttributes) Resource

type ServicePerimetersStatus1Cc6251DState

type ServicePerimetersStatus1Cc6251DState struct {
	AccessLevel string `json:"access_level"`
	Resource    string `json:"resource"`
}

type ServicePerimetersStatus79F8Dcc5

type ServicePerimetersStatus79F8Dcc5 struct {
	// Method: string, optional
	Method terra.StringValue `hcl:"method,attr"`
	// Permission: string, optional
	Permission terra.StringValue `hcl:"permission,attr"`
}

type ServicePerimetersStatus79F8Dcc5Attributes

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

func (ServicePerimetersStatus79F8Dcc5Attributes) InternalRef

func (ServicePerimetersStatus79F8Dcc5Attributes) InternalTokens

func (ServicePerimetersStatus79F8Dcc5Attributes) InternalWithRef

func (ServicePerimetersStatus79F8Dcc5Attributes) Method

func (ServicePerimetersStatus79F8Dcc5Attributes) Permission

type ServicePerimetersStatus79F8Dcc5State

type ServicePerimetersStatus79F8Dcc5State struct {
	Method     string `json:"method"`
	Permission string `json:"permission"`
}

type ServicePerimetersStatus7D1139E7

type ServicePerimetersStatus7D1139E7 struct {
	// ServiceName: string, optional
	ServiceName terra.StringValue `hcl:"service_name,attr"`
	// ServicePerimetersStatus79F8Dcc5: min=0
	MethodSelectors []ServicePerimetersStatus79F8Dcc5 `hcl:"method_selectors,block" validate:"min=0"`
}

type ServicePerimetersStatus7D1139E7Attributes

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

func (ServicePerimetersStatus7D1139E7Attributes) InternalRef

func (ServicePerimetersStatus7D1139E7Attributes) InternalTokens

func (ServicePerimetersStatus7D1139E7Attributes) InternalWithRef

func (ServicePerimetersStatus7D1139E7Attributes) MethodSelectors

func (ServicePerimetersStatus7D1139E7Attributes) ServiceName

type ServicePerimetersStatus7D1139E7State

type ServicePerimetersStatus7D1139E7State struct {
	ServiceName     string                                 `json:"service_name"`
	MethodSelectors []ServicePerimetersStatus79F8Dcc5State `json:"method_selectors"`
}

type ServicePerimetersStatus8Ced8Bb6

type ServicePerimetersStatus8Ced8Bb6 struct {
	// AccessLevel: string, optional
	AccessLevel terra.StringValue `hcl:"access_level,attr"`
}

type ServicePerimetersStatus8Ced8Bb6Attributes

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

func (ServicePerimetersStatus8Ced8Bb6Attributes) AccessLevel

func (ServicePerimetersStatus8Ced8Bb6Attributes) InternalRef

func (ServicePerimetersStatus8Ced8Bb6Attributes) InternalTokens

func (ServicePerimetersStatus8Ced8Bb6Attributes) InternalWithRef

type ServicePerimetersStatus8Ced8Bb6State

type ServicePerimetersStatus8Ced8Bb6State struct {
	AccessLevel string `json:"access_level"`
}

type ServicePerimetersStatus8E8D582B

type ServicePerimetersStatus8E8D582B struct {
	// ServiceName: string, optional
	ServiceName terra.StringValue `hcl:"service_name,attr"`
	// ServicePerimetersStatus19B117Db: min=0
	MethodSelectors []ServicePerimetersStatus19B117Db `hcl:"method_selectors,block" validate:"min=0"`
}

type ServicePerimetersStatus8E8D582BAttributes

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

func (ServicePerimetersStatus8E8D582BAttributes) InternalRef

func (ServicePerimetersStatus8E8D582BAttributes) InternalTokens

func (ServicePerimetersStatus8E8D582BAttributes) InternalWithRef

func (ServicePerimetersStatus8E8D582BAttributes) MethodSelectors

func (ServicePerimetersStatus8E8D582BAttributes) ServiceName

type ServicePerimetersStatus8E8D582BState

type ServicePerimetersStatus8E8D582BState struct {
	ServiceName     string                                 `json:"service_name"`
	MethodSelectors []ServicePerimetersStatus19B117DbState `json:"method_selectors"`
}

type ServicePerimetersStatusAttributes

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

func (ServicePerimetersStatusAttributes) AccessLevels

func (ServicePerimetersStatusAttributes) EgressPolicies

func (ServicePerimetersStatusAttributes) IngressPolicies

func (ServicePerimetersStatusAttributes) InternalRef

func (ServicePerimetersStatusAttributes) InternalTokens

func (ServicePerimetersStatusAttributes) InternalWithRef

func (ServicePerimetersStatusAttributes) Resources

func (ServicePerimetersStatusAttributes) RestrictedServices

type ServicePerimetersStatusEgressPolicies

type ServicePerimetersStatusEgressPolicies struct {
	// ServicePerimetersStatusEgressPoliciesEgressFrom: optional
	EgressFrom *ServicePerimetersStatusEgressPoliciesEgressFrom `hcl:"egress_from,block"`
	// ServicePerimetersStatusEgressPoliciesEgressTo: optional
	EgressTo *ServicePerimetersStatusEgressPoliciesEgressTo `hcl:"egress_to,block"`
}

type ServicePerimetersStatusEgressPoliciesAttributes

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

func (ServicePerimetersStatusEgressPoliciesAttributes) EgressTo

func (ServicePerimetersStatusEgressPoliciesAttributes) InternalRef

func (ServicePerimetersStatusEgressPoliciesAttributes) InternalTokens

func (ServicePerimetersStatusEgressPoliciesAttributes) InternalWithRef

type ServicePerimetersStatusEgressPoliciesEgressFrom

type ServicePerimetersStatusEgressPoliciesEgressFrom struct {
	// Identities: set of string, optional
	Identities terra.SetValue[terra.StringValue] `hcl:"identities,attr"`
	// IdentityType: string, optional
	IdentityType terra.StringValue `hcl:"identity_type,attr"`
	// SourceRestriction: string, optional
	SourceRestriction terra.StringValue `hcl:"source_restriction,attr"`
	// ServicePerimetersStatus8Ced8Bb6: min=0
	Sources []ServicePerimetersStatus8Ced8Bb6 `hcl:"sources,block" validate:"min=0"`
}

type ServicePerimetersStatusEgressPoliciesEgressFromAttributes

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

func (ServicePerimetersStatusEgressPoliciesEgressFromAttributes) Identities

func (ServicePerimetersStatusEgressPoliciesEgressFromAttributes) IdentityType

func (ServicePerimetersStatusEgressPoliciesEgressFromAttributes) InternalRef

func (ServicePerimetersStatusEgressPoliciesEgressFromAttributes) InternalTokens

func (ServicePerimetersStatusEgressPoliciesEgressFromAttributes) InternalWithRef

func (ServicePerimetersStatusEgressPoliciesEgressFromAttributes) SourceRestriction

func (ServicePerimetersStatusEgressPoliciesEgressFromAttributes) Sources

type ServicePerimetersStatusEgressPoliciesEgressFromState

type ServicePerimetersStatusEgressPoliciesEgressFromState struct {
	Identities        []string                               `json:"identities"`
	IdentityType      string                                 `json:"identity_type"`
	SourceRestriction string                                 `json:"source_restriction"`
	Sources           []ServicePerimetersStatus8Ced8Bb6State `json:"sources"`
}

type ServicePerimetersStatusEgressPoliciesEgressTo

type ServicePerimetersStatusEgressPoliciesEgressTo struct {
	// ExternalResources: set of string, optional
	ExternalResources terra.SetValue[terra.StringValue] `hcl:"external_resources,attr"`
	// Resources: set of string, optional
	Resources terra.SetValue[terra.StringValue] `hcl:"resources,attr"`
	// ServicePerimetersStatus7D1139E7: min=0
	Operations []ServicePerimetersStatus7D1139E7 `hcl:"operations,block" validate:"min=0"`
}

type ServicePerimetersStatusEgressPoliciesEgressToAttributes

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

func (ServicePerimetersStatusEgressPoliciesEgressToAttributes) ExternalResources

func (ServicePerimetersStatusEgressPoliciesEgressToAttributes) InternalRef

func (ServicePerimetersStatusEgressPoliciesEgressToAttributes) InternalTokens

func (ServicePerimetersStatusEgressPoliciesEgressToAttributes) InternalWithRef

func (ServicePerimetersStatusEgressPoliciesEgressToAttributes) Operations

func (ServicePerimetersStatusEgressPoliciesEgressToAttributes) Resources

type ServicePerimetersStatusEgressPoliciesEgressToState

type ServicePerimetersStatusEgressPoliciesEgressToState struct {
	ExternalResources []string                               `json:"external_resources"`
	Resources         []string                               `json:"resources"`
	Operations        []ServicePerimetersStatus7D1139E7State `json:"operations"`
}

type ServicePerimetersStatusEgressPoliciesState

type ServicePerimetersStatusEgressPoliciesState struct {
	EgressFrom []ServicePerimetersStatusEgressPoliciesEgressFromState `json:"egress_from"`
	EgressTo   []ServicePerimetersStatusEgressPoliciesEgressToState   `json:"egress_to"`
}

type ServicePerimetersStatusIngressPolicies

type ServicePerimetersStatusIngressPolicies struct {
	// ServicePerimetersStatusIngressPoliciesIngressFrom: optional
	IngressFrom *ServicePerimetersStatusIngressPoliciesIngressFrom `hcl:"ingress_from,block"`
	// ServicePerimetersStatusIngressPoliciesIngressTo: optional
	IngressTo *ServicePerimetersStatusIngressPoliciesIngressTo `hcl:"ingress_to,block"`
}

type ServicePerimetersStatusIngressPoliciesAttributes

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

func (ServicePerimetersStatusIngressPoliciesAttributes) InternalRef

func (ServicePerimetersStatusIngressPoliciesAttributes) InternalTokens

func (ServicePerimetersStatusIngressPoliciesAttributes) InternalWithRef

type ServicePerimetersStatusIngressPoliciesIngressFrom

type ServicePerimetersStatusIngressPoliciesIngressFrom struct {
	// Identities: set of string, optional
	Identities terra.SetValue[terra.StringValue] `hcl:"identities,attr"`
	// IdentityType: string, optional
	IdentityType terra.StringValue `hcl:"identity_type,attr"`
	// ServicePerimetersStatus1Cc6251D: min=0
	Sources []ServicePerimetersStatus1Cc6251D `hcl:"sources,block" validate:"min=0"`
}

type ServicePerimetersStatusIngressPoliciesIngressFromAttributes

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

func (ServicePerimetersStatusIngressPoliciesIngressFromAttributes) Identities

func (ServicePerimetersStatusIngressPoliciesIngressFromAttributes) IdentityType

func (ServicePerimetersStatusIngressPoliciesIngressFromAttributes) InternalRef

func (ServicePerimetersStatusIngressPoliciesIngressFromAttributes) InternalTokens

func (ServicePerimetersStatusIngressPoliciesIngressFromAttributes) InternalWithRef

func (ServicePerimetersStatusIngressPoliciesIngressFromAttributes) Sources

type ServicePerimetersStatusIngressPoliciesIngressFromState

type ServicePerimetersStatusIngressPoliciesIngressFromState struct {
	Identities   []string                               `json:"identities"`
	IdentityType string                                 `json:"identity_type"`
	Sources      []ServicePerimetersStatus1Cc6251DState `json:"sources"`
}

type ServicePerimetersStatusIngressPoliciesIngressTo

type ServicePerimetersStatusIngressPoliciesIngressTo struct {
	// Resources: set of string, optional
	Resources terra.SetValue[terra.StringValue] `hcl:"resources,attr"`
	// ServicePerimetersStatus8E8D582B: min=0
	Operations []ServicePerimetersStatus8E8D582B `hcl:"operations,block" validate:"min=0"`
}

type ServicePerimetersStatusIngressPoliciesIngressToAttributes

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

func (ServicePerimetersStatusIngressPoliciesIngressToAttributes) InternalRef

func (ServicePerimetersStatusIngressPoliciesIngressToAttributes) InternalTokens

func (ServicePerimetersStatusIngressPoliciesIngressToAttributes) InternalWithRef

func (ServicePerimetersStatusIngressPoliciesIngressToAttributes) Operations

func (ServicePerimetersStatusIngressPoliciesIngressToAttributes) Resources

type ServicePerimetersStatusIngressPoliciesIngressToState

type ServicePerimetersStatusIngressPoliciesIngressToState struct {
	Resources  []string                               `json:"resources"`
	Operations []ServicePerimetersStatus8E8D582BState `json:"operations"`
}

type ServicePerimetersStatusIngressPoliciesState

type ServicePerimetersStatusIngressPoliciesState struct {
	IngressFrom []ServicePerimetersStatusIngressPoliciesIngressFromState `json:"ingress_from"`
	IngressTo   []ServicePerimetersStatusIngressPoliciesIngressToState   `json:"ingress_to"`
}

type ServicePerimetersStatusState

type ServicePerimetersStatusState struct {
	AccessLevels          []string                                            `json:"access_levels"`
	Resources             []string                                            `json:"resources"`
	RestrictedServices    []string                                            `json:"restricted_services"`
	EgressPolicies        []ServicePerimetersStatusEgressPoliciesState        `json:"egress_policies"`
	IngressPolicies       []ServicePerimetersStatusIngressPoliciesState       `json:"ingress_policies"`
	VpcAccessibleServices []ServicePerimetersStatusVpcAccessibleServicesState `json:"vpc_accessible_services"`
}

type ServicePerimetersStatusVpcAccessibleServices

type ServicePerimetersStatusVpcAccessibleServices struct {
	// AllowedServices: set of string, optional
	AllowedServices terra.SetValue[terra.StringValue] `hcl:"allowed_services,attr"`
	// EnableRestriction: bool, optional
	EnableRestriction terra.BoolValue `hcl:"enable_restriction,attr"`
}

type ServicePerimetersStatusVpcAccessibleServicesAttributes

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

func (ServicePerimetersStatusVpcAccessibleServicesAttributes) AllowedServices

func (ServicePerimetersStatusVpcAccessibleServicesAttributes) EnableRestriction

func (ServicePerimetersStatusVpcAccessibleServicesAttributes) InternalRef

func (ServicePerimetersStatusVpcAccessibleServicesAttributes) InternalTokens

func (ServicePerimetersStatusVpcAccessibleServicesAttributes) InternalWithRef

type ServicePerimetersStatusVpcAccessibleServicesState

type ServicePerimetersStatusVpcAccessibleServicesState struct {
	AllowedServices   []string `json:"allowed_services"`
	EnableRestriction bool     `json:"enable_restriction"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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