security_policy

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2025 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FinalizerString = "finalizers.opensearchserverless.services.k8s.aws/SecurityPolicy"
)

Variables

View Source
var (
	GroupVersionResource = svcapitypes.GroupVersion.WithResource("securitypolicies")
	GroupKind            = metav1.GroupKind{
		Group: "opensearchserverless.services.k8s.aws",
		Kind:  "SecurityPolicy",
	}
)

Functions

This section is empty.

Types

type EncryptionPolicy

type EncryptionPolicy struct {
	AWSOwnedKey bool             `json:"AWSOwnedKey"`
	Rules       []EncryptionRule `json:"Rules"`
	KmsARN      string           `json:"KmsARN"`
}

EncryptionPolicy is a Policy of type Encryption

type EncryptionRule

type EncryptionRule struct {
	ResourceType string   `json:"ResourceType"`
	Resource     []string `json:"Resource"`
}

EncryptionRule is a Rule for Encruption type

type NetworkPolicy

type NetworkPolicy struct {
	Rules           []NetworkRule `json:"Rules"`
	Description     string        `json:"Description"`
	AllowFromPublic bool          `json:"AllowFromPublic"`
}

NetworkPolicy is a Policy of type Network

type NetworkRule

type NetworkRule struct {
	ResourceType    string   `json:"ResourceType"`
	Resource        []string `json:"Resource"`
	AllowFromPublic bool     `json:"AllowFromPublic"`
}

NetworkRule is a Rule for Network type

Jump to

Keyboard shortcuts

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