Documentation ¶
Index ¶
- Variables
- func Setup()
- type APIGatewayAlarmProperties
- type AnalysisSetProperties
- type AppSyncAlarmProperties
- type CognitoUserPoolMfaProperties
- type DynamoDBAlarmProperties
- type ElbAlarmProperties
- type GuardDutyDestinationProperties
- type LambdaAlarmProperties
- type LambdaMetricFiltersProperties
- type LayerAttachmentProperties
- type PantherSettingsProperties
- type PantherTeardownProperties
- type PantherUserProperties
- type S3BucketNotificationProperties
- type SFNAlarmProperties
- type SNSAlarmProperties
- type SQSAlarmProperties
- type SelfRegistrationProperties
- type UpdateLogProcessorTablesProperties
Constants ¶
This section is empty.
Variables ¶
View Source
var CustomResources = map[string]cfn.CustomResourceFunction{
"Custom::AnalysisSet": customAnalysisSet,
"Custom::ApiGatewayAlarms": customAPIGatewayAlarms,
"Custom::AppSyncAlarms": customAppSyncAlarms,
"Custom::DynamoDBAlarms": customDynamoDBAlarms,
"Custom::ElbAlarms": customElbAlarms,
"Custom::Certificate": customCertificate,
"Custom::CognitoUserPoolMfa": customCognitoUserPoolMfa,
"Custom::UpdateLogProcessorTables": customUpdateLogTables,
"Custom::GuardDutyDestination": customGuardDutyDestination,
"Custom::LambdaAlarms": customLambdaAlarms,
"Custom::LambdaMetricFilters": customLambdaMetricFilters,
"Custom::PantherSettings": customPantherSettings,
"Custom::LayerAttachment": customLayerAttachment,
"Custom::PantherTeardown": customPantherTeardown,
"Custom::PantherUser": customPantherUser,
"Custom::S3BucketNotification": customS3BucketNotification,
"Custom::SelfRegistration": customSelfRegistration,
"Custom::StateMachineAlarms": customStateMachineAlarms,
"Custom::SNSAlarms": customSNSAlarms,
"Custom::SQSAlarms": customSQSAlarms,
}
CustomResources map type names to their respective handler functions.
Functions ¶
Types ¶
type APIGatewayAlarmProperties ¶ added in v1.3.0
type AnalysisSetProperties ¶ added in v1.4.0
type AnalysisSetProperties struct {
PackURLs []string
}
type AppSyncAlarmProperties ¶ added in v1.3.0
type AppSyncAlarmProperties struct { APIID string `json:"ApiId" validate:"required"` APIName string `json:"ApiName" validate:"required"` AlarmTopicArn string `validate:"required"` ClientErrorThreshold int `json:",string" validate:"omitempty,min=0"` ServerErrorThreshold int `json:",string" validate:"omitempty,min=0"` }
type CognitoUserPoolMfaProperties ¶ added in v1.3.0
type CognitoUserPoolMfaProperties struct {
UserPoolID string `json:"UserPoolId" validate:"required"`
}
type DynamoDBAlarmProperties ¶ added in v1.4.0
type ElbAlarmProperties ¶ added in v1.3.0
type GuardDutyDestinationProperties ¶ added in v1.4.0
type GuardDutyDestinationProperties = guardduty.CreatePublishingDestinationInput
type LambdaAlarmProperties ¶ added in v1.4.0
type LambdaAlarmProperties struct { AlarmTopicArn string `validate:"required"` FunctionName string `validate:"required"` FunctionMemoryMB int `json:",string" validate:"min=128"` FunctionTimeoutSec int `json:",string" validate:"min=1"` // These are pointers because we have to distinguish 0 from not specified LoggedErrorThreshold *int `json:",string" validate:"omitempty,min=0"` LoggedWarnThreshold *int `json:",string" validate:"omitempty,min=0"` ExecutionErrorThreshold *int `json:",string" validate:"omitempty,min=0"` ThrottleThreshold *int `json:",string" validate:"omitempty,min=0"` }
type LambdaMetricFiltersProperties ¶ added in v1.3.0
type LayerAttachmentProperties ¶ added in v1.5.0
type LayerAttachmentProperties struct {
LayerArns []*string
}
type PantherSettingsProperties ¶ added in v1.4.0
type PantherSettingsProperties = models.GeneralSettings
type PantherTeardownProperties ¶ added in v1.4.0
type PantherUserProperties ¶ added in v1.4.0
type S3BucketNotificationProperties ¶ added in v1.4.0
type S3BucketNotificationProperties = s3.PutBucketNotificationConfigurationInput
type SFNAlarmProperties ¶ added in v1.4.0
type SNSAlarmProperties ¶ added in v1.4.0
type SQSAlarmProperties ¶ added in v1.4.0
type SelfRegistrationProperties ¶ added in v1.4.0
type SelfRegistrationProperties struct { AccountID string `validate:"required,len=12"` AuditLogsBucket string `validate:"required"` EnableCloudTrail bool `json:",string"` EnableGuardDuty bool `json:",string"` EnableS3AccessLogs bool `json:",string"` Enabled *bool `json:",string"` RegionIgnoreList []string `json:","` ResourceTypeIgnoreList []string `json:","` ResourceRegexIgnoreList []string `json:","` }
type UpdateLogProcessorTablesProperties ¶ added in v1.12.0
type UpdateLogProcessorTablesProperties struct {
DataCatalogUpdaterQueueURL string `validate:"required"`
}
Source Files ¶
- alarms.go
- alarms_api_gateway.go
- alarms_appsync.go
- alarms_dynamo.go
- alarms_elb.go
- alarms_lambda.go
- alarms_sfn.go
- alarms_sns.go
- alarms_sqs.go
- analysis_set.go
- certificate.go
- clients.go
- cognito_user_pool_mfa.go
- glue_tables.go
- guardduty_destination.go
- lambda_metric_filters.go
- layer_attachment.go
- map.go
- panther_settings.go
- panther_teardown.go
- panther_user.go
- parser.go
- s3_bucket_notification.go
- self_registration.go
Click to show internal directories.
Click to hide internal directories.