aws_securitylake_subscriber_notification

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 {
	// SubscriberId: string, required
	SubscriberId terra.StringValue `hcl:"subscriber_id,attr" validate:"required"`
	// Configuration: min=0
	Configuration []Configuration `hcl:"configuration,block" validate:"min=0"`
}

Args contains the configurations for aws_securitylake_subscriber_notification.

type Configuration

type Configuration struct {
	// ConfigurationHttpsNotificationConfiguration: min=0
	HttpsNotificationConfiguration []ConfigurationHttpsNotificationConfiguration `hcl:"https_notification_configuration,block" validate:"min=0"`
	// ConfigurationSqsNotificationConfiguration: min=0
	SqsNotificationConfiguration []ConfigurationSqsNotificationConfiguration `hcl:"sqs_notification_configuration,block" validate:"min=0"`
}

type ConfigurationAttributes

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

func (ConfigurationAttributes) InternalRef

func (c ConfigurationAttributes) InternalRef() (terra.Reference, error)

func (ConfigurationAttributes) InternalTokens

func (c ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConfigurationAttributes) InternalWithRef

func (ConfigurationAttributes) SqsNotificationConfiguration

type ConfigurationHttpsNotificationConfiguration

type ConfigurationHttpsNotificationConfiguration struct {
	// AuthorizationApiKeyName: string, optional
	AuthorizationApiKeyName terra.StringValue `hcl:"authorization_api_key_name,attr"`
	// AuthorizationApiKeyValue: string, optional
	AuthorizationApiKeyValue terra.StringValue `hcl:"authorization_api_key_value,attr"`
	// Endpoint: string, optional
	Endpoint terra.StringValue `hcl:"endpoint,attr"`
	// HttpMethod: string, optional
	HttpMethod terra.StringValue `hcl:"http_method,attr"`
	// TargetRoleArn: string, optional
	TargetRoleArn terra.StringValue `hcl:"target_role_arn,attr"`
}

type ConfigurationHttpsNotificationConfigurationAttributes

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

func (ConfigurationHttpsNotificationConfigurationAttributes) AuthorizationApiKeyName

func (ConfigurationHttpsNotificationConfigurationAttributes) AuthorizationApiKeyValue

func (ConfigurationHttpsNotificationConfigurationAttributes) Endpoint

func (ConfigurationHttpsNotificationConfigurationAttributes) HttpMethod

func (ConfigurationHttpsNotificationConfigurationAttributes) InternalRef

func (ConfigurationHttpsNotificationConfigurationAttributes) InternalTokens

func (ConfigurationHttpsNotificationConfigurationAttributes) InternalWithRef

func (ConfigurationHttpsNotificationConfigurationAttributes) TargetRoleArn

type ConfigurationHttpsNotificationConfigurationState

type ConfigurationHttpsNotificationConfigurationState struct {
	AuthorizationApiKeyName  string `json:"authorization_api_key_name"`
	AuthorizationApiKeyValue string `json:"authorization_api_key_value"`
	Endpoint                 string `json:"endpoint"`
	HttpMethod               string `json:"http_method"`
	TargetRoleArn            string `json:"target_role_arn"`
}

type ConfigurationSqsNotificationConfiguration

type ConfigurationSqsNotificationConfiguration struct{}

type ConfigurationSqsNotificationConfigurationAttributes

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

func (ConfigurationSqsNotificationConfigurationAttributes) InternalRef

func (ConfigurationSqsNotificationConfigurationAttributes) InternalTokens

func (ConfigurationSqsNotificationConfigurationAttributes) InternalWithRef

type ConfigurationSqsNotificationConfigurationState

type ConfigurationSqsNotificationConfigurationState struct{}

type ConfigurationState

type ConfigurationState struct {
	HttpsNotificationConfiguration []ConfigurationHttpsNotificationConfigurationState `json:"https_notification_configuration"`
	SqsNotificationConfiguration   []ConfigurationSqsNotificationConfigurationState   `json:"sqs_notification_configuration"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (assn *Resource) Attributes() awsSecuritylakeSubscriberNotificationAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (assn *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (assn *Resource) State() (*awsSecuritylakeSubscriberNotificationState, bool)

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

func (*Resource) StateMust

func (assn *Resource) StateMust() *awsSecuritylakeSubscriberNotificationState

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

func (*Resource) Type

func (assn *Resource) Type() string

Type returns the Terraform object type for Resource.

Jump to

Keyboard shortcuts

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