Documentation
¶
Index ¶
- type ActionInfo
- type ActionType
- type ApiGatewayApi
- type ApiGatewayApiVisitor
- type ApiGatewayReport
- type AwsIntegration
- type AwsProxyIntegration
- type Bucket
- type BucketVersioningStatus
- type Certificate
- type CredentialInfo
- type CredentialReport
- type EncryptionRule
- type ExternalBucket
- type ExternalS3Report
- type HttpIntegration
- type HttpProxyIntegration
- type Integration
- func NewIntegrationFromAws(value *AwsIntegration) *Integration
- func NewIntegrationFromAwsProxy(value *AwsProxyIntegration) *Integration
- func NewIntegrationFromHttp(value *HttpIntegration) *Integration
- func NewIntegrationFromHttpProxy(value *HttpProxyIntegration) *Integration
- func NewIntegrationFromMock(value *MockIntegration) *Integration
- type IntegrationVisitor
- type IpAddressType
- type Listener
- type LoadBalancerReport
- type LoadBalancerState
- type LoadBalancerV1
- type LoadBalancerV2
- type MockIntegration
- type Protocol
- type RegionWafInfo
- type ResourceInfo
- type RestApi
- type RestApiPath
- type RuleInfo
- type S3BucketAcl
- type S3MfaDeleteStatus
- type S3ObjectDetails
- type S3PublicAccessBlockConfiguration
- type S3Report
- type S3ServerSideEncryption
- type ScopeType
- type StatementInfo
- type StatementType
- type Target
- type TargetGroup
- type TargetGroupIpAddressType
- type TargetType
- type Waf
- type WafReport
- type WafResourceType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionInfo ¶ added in v0.0.27
type ActionInfo struct { Type ActionType `json:"type" url:"type"` JsonString *string `json:"jsonString,omitempty" url:"jsonString,omitempty"` // contains filtered or unexported fields }
func (*ActionInfo) GetExtraProperties ¶ added in v0.0.27
func (a *ActionInfo) GetExtraProperties() map[string]interface{}
func (*ActionInfo) String ¶ added in v0.0.27
func (a *ActionInfo) String() string
func (*ActionInfo) UnmarshalJSON ¶ added in v0.0.27
func (a *ActionInfo) UnmarshalJSON(data []byte) error
type ActionType ¶ added in v0.0.27
type ActionType string
const ( ActionTypeAllow ActionType = "ALLOW" ActionTypeBlock ActionType = "BLOCK" ActionTypeCaptcha ActionType = "CAPTCHA" ActionTypeChallenge ActionType = "CHALLENGE" ActionTypeCount ActionType = "COUNT" ActionTypeOther ActionType = "OTHER" )
func NewActionTypeFromString ¶ added in v0.0.27
func NewActionTypeFromString(s string) (ActionType, error)
func (ActionType) Ptr ¶ added in v0.0.27
func (a ActionType) Ptr() *ActionType
type ApiGatewayApi ¶ added in v0.0.29
func NewApiGatewayApiFromRest ¶ added in v0.0.29
func NewApiGatewayApiFromRest(value *RestApi) *ApiGatewayApi
func (*ApiGatewayApi) Accept ¶ added in v0.0.29
func (a *ApiGatewayApi) Accept(visitor ApiGatewayApiVisitor) error
func (ApiGatewayApi) MarshalJSON ¶ added in v0.0.29
func (a ApiGatewayApi) MarshalJSON() ([]byte, error)
func (*ApiGatewayApi) UnmarshalJSON ¶ added in v0.0.29
func (a *ApiGatewayApi) UnmarshalJSON(data []byte) error
type ApiGatewayApiVisitor ¶ added in v0.0.29
type ApiGatewayReport ¶ added in v0.0.29
type ApiGatewayReport struct { AccountId string `json:"accountId" url:"accountId"` Apis []*ApiGatewayApi `json:"apis,omitempty" url:"apis,omitempty"` Errors []string `json:"errors,omitempty" url:"errors,omitempty"` // contains filtered or unexported fields }
func (*ApiGatewayReport) GetExtraProperties ¶ added in v0.0.29
func (a *ApiGatewayReport) GetExtraProperties() map[string]interface{}
func (*ApiGatewayReport) String ¶ added in v0.0.29
func (a *ApiGatewayReport) String() string
func (*ApiGatewayReport) UnmarshalJSON ¶ added in v0.0.29
func (a *ApiGatewayReport) UnmarshalJSON(data []byte) error
type AwsIntegration ¶ added in v0.0.29
type AwsIntegration struct { Arn string `json:"arn" url:"arn"` // contains filtered or unexported fields }
func (*AwsIntegration) GetExtraProperties ¶ added in v0.0.29
func (a *AwsIntegration) GetExtraProperties() map[string]interface{}
func (*AwsIntegration) String ¶ added in v0.0.29
func (a *AwsIntegration) String() string
func (*AwsIntegration) UnmarshalJSON ¶ added in v0.0.29
func (a *AwsIntegration) UnmarshalJSON(data []byte) error
type AwsProxyIntegration ¶ added in v0.0.29
type AwsProxyIntegration struct { Arn string `json:"arn" url:"arn"` // contains filtered or unexported fields }
func (*AwsProxyIntegration) GetExtraProperties ¶ added in v0.0.29
func (a *AwsProxyIntegration) GetExtraProperties() map[string]interface{}
func (*AwsProxyIntegration) String ¶ added in v0.0.29
func (a *AwsProxyIntegration) String() string
func (*AwsProxyIntegration) UnmarshalJSON ¶ added in v0.0.29
func (a *AwsProxyIntegration) UnmarshalJSON(data []byte) error
type Bucket ¶ added in v0.0.13
type Bucket struct { Name string `json:"name" url:"name"` Arn string `json:"arn" url:"arn"` Url string `json:"url" url:"url"` Region string `json:"region" url:"region"` CreationDate time.Time `json:"creationDate" url:"creationDate"` OwnerId string `json:"ownerID" url:"ownerID"` OwnerName string `json:"ownerName" url:"ownerName"` PublicAccessConfig *S3PublicAccessBlockConfiguration `json:"publicAccessConfig,omitempty" url:"publicAccessConfig,omitempty"` Policy *string `json:"policy,omitempty" url:"policy,omitempty"` BucketVersioning *BucketVersioningStatus `json:"bucketVersioning,omitempty" url:"bucketVersioning,omitempty"` MfaDelete *S3MfaDeleteStatus `json:"mfaDelete,omitempty" url:"mfaDelete,omitempty"` EncryptionRules []*EncryptionRule `json:"encryptionRules,omitempty" url:"encryptionRules,omitempty"` // contains filtered or unexported fields }
func (*Bucket) GetExtraProperties ¶ added in v0.0.13
func (*Bucket) MarshalJSON ¶ added in v0.0.13
func (*Bucket) UnmarshalJSON ¶ added in v0.0.13
type BucketVersioningStatus ¶ added in v0.0.13
type BucketVersioningStatus string
const ( BucketVersioningStatusEnabled BucketVersioningStatus = "Enabled" BucketVersioningStatusSuspended BucketVersioningStatus = "Suspended" )
func NewBucketVersioningStatusFromString ¶ added in v0.0.13
func NewBucketVersioningStatusFromString(s string) (BucketVersioningStatus, error)
func (BucketVersioningStatus) Ptr ¶ added in v0.0.13
func (b BucketVersioningStatus) Ptr() *BucketVersioningStatus
type Certificate ¶
type Certificate struct { Arn string `json:"arn" url:"arn"` IsDefault bool `json:"isDefault" url:"isDefault"` // contains filtered or unexported fields }
func (*Certificate) GetExtraProperties ¶
func (c *Certificate) GetExtraProperties() map[string]interface{}
func (*Certificate) String ¶
func (c *Certificate) String() string
func (*Certificate) UnmarshalJSON ¶
func (c *Certificate) UnmarshalJSON(data []byte) error
type CredentialInfo ¶ added in v0.0.11
type CredentialInfo struct { Url string `json:"url" url:"url"` Token string `json:"token" url:"token"` CaCert *string `json:"caCert,omitempty" url:"caCert,omitempty"` Expiration *time.Time `json:"expiration,omitempty" url:"expiration,omitempty"` // contains filtered or unexported fields }
func (*CredentialInfo) GetExtraProperties ¶ added in v0.0.11
func (c *CredentialInfo) GetExtraProperties() map[string]interface{}
func (*CredentialInfo) MarshalJSON ¶ added in v0.0.12
func (c *CredentialInfo) MarshalJSON() ([]byte, error)
func (*CredentialInfo) String ¶ added in v0.0.11
func (c *CredentialInfo) String() string
func (*CredentialInfo) UnmarshalJSON ¶ added in v0.0.11
func (c *CredentialInfo) UnmarshalJSON(data []byte) error
type CredentialReport ¶ added in v0.0.11
type CredentialReport struct { AccountId string `json:"accountId" url:"accountId"` ClusterName string `json:"clusterName" url:"clusterName"` Credential *CredentialInfo `json:"credential,omitempty" url:"credential,omitempty"` Errors []string `json:"errors,omitempty" url:"errors,omitempty"` // contains filtered or unexported fields }
func (*CredentialReport) GetExtraProperties ¶ added in v0.0.11
func (c *CredentialReport) GetExtraProperties() map[string]interface{}
func (*CredentialReport) String ¶ added in v0.0.11
func (c *CredentialReport) String() string
func (*CredentialReport) UnmarshalJSON ¶ added in v0.0.11
func (c *CredentialReport) UnmarshalJSON(data []byte) error
type EncryptionRule ¶ added in v0.0.13
type EncryptionRule struct { SseAlgorithm *S3ServerSideEncryption `json:"sseAlgorithm,omitempty" url:"sseAlgorithm,omitempty"` KmsMasterKeyId *string `json:"kmsMasterKeyID,omitempty" url:"kmsMasterKeyID,omitempty"` // contains filtered or unexported fields }
func (*EncryptionRule) GetExtraProperties ¶ added in v0.0.13
func (e *EncryptionRule) GetExtraProperties() map[string]interface{}
func (*EncryptionRule) String ¶ added in v0.0.13
func (e *EncryptionRule) String() string
func (*EncryptionRule) UnmarshalJSON ¶ added in v0.0.13
func (e *EncryptionRule) UnmarshalJSON(data []byte) error
type ExternalBucket ¶ added in v0.0.13
type ExternalBucket struct { Name string `json:"name" url:"name"` Url string `json:"url" url:"url"` Region string `json:"region" url:"region"` DirectoryContents []*S3ObjectDetails `json:"directoryContents,omitempty" url:"directoryContents,omitempty"` AllowDirectoryListing bool `json:"allowDirectoryListing" url:"allowDirectoryListing"` AllowAnonymousRead bool `json:"allowAnonymousRead" url:"allowAnonymousRead"` Policy *string `json:"policy,omitempty" url:"policy,omitempty"` Acls []*S3BucketAcl `json:"acls,omitempty" url:"acls,omitempty"` // contains filtered or unexported fields }
func (*ExternalBucket) GetExtraProperties ¶ added in v0.0.13
func (e *ExternalBucket) GetExtraProperties() map[string]interface{}
func (*ExternalBucket) String ¶ added in v0.0.13
func (e *ExternalBucket) String() string
func (*ExternalBucket) UnmarshalJSON ¶ added in v0.0.13
func (e *ExternalBucket) UnmarshalJSON(data []byte) error
type ExternalS3Report ¶ added in v0.0.13
type ExternalS3Report struct { ExternalBuckets []*ExternalBucket `json:"externalBuckets,omitempty" url:"externalBuckets,omitempty"` Errors []string `json:"errors,omitempty" url:"errors,omitempty"` // contains filtered or unexported fields }
func (*ExternalS3Report) GetExtraProperties ¶ added in v0.0.13
func (e *ExternalS3Report) GetExtraProperties() map[string]interface{}
func (*ExternalS3Report) String ¶ added in v0.0.13
func (e *ExternalS3Report) String() string
func (*ExternalS3Report) UnmarshalJSON ¶ added in v0.0.13
func (e *ExternalS3Report) UnmarshalJSON(data []byte) error
type HttpIntegration ¶ added in v0.0.29
type HttpIntegration struct { Uri string `json:"uri" url:"uri"` // contains filtered or unexported fields }
func (*HttpIntegration) GetExtraProperties ¶ added in v0.0.29
func (h *HttpIntegration) GetExtraProperties() map[string]interface{}
func (*HttpIntegration) String ¶ added in v0.0.29
func (h *HttpIntegration) String() string
func (*HttpIntegration) UnmarshalJSON ¶ added in v0.0.29
func (h *HttpIntegration) UnmarshalJSON(data []byte) error
type HttpProxyIntegration ¶ added in v0.0.29
type HttpProxyIntegration struct { Uri string `json:"uri" url:"uri"` // contains filtered or unexported fields }
func (*HttpProxyIntegration) GetExtraProperties ¶ added in v0.0.29
func (h *HttpProxyIntegration) GetExtraProperties() map[string]interface{}
func (*HttpProxyIntegration) String ¶ added in v0.0.29
func (h *HttpProxyIntegration) String() string
func (*HttpProxyIntegration) UnmarshalJSON ¶ added in v0.0.29
func (h *HttpProxyIntegration) UnmarshalJSON(data []byte) error
type Integration ¶ added in v0.0.29
type Integration struct { Type string AwsProxy *AwsProxyIntegration Aws *AwsIntegration Mock *MockIntegration Http *HttpIntegration HttpProxy *HttpProxyIntegration }
func NewIntegrationFromAws ¶ added in v0.0.29
func NewIntegrationFromAws(value *AwsIntegration) *Integration
func NewIntegrationFromAwsProxy ¶ added in v0.0.29
func NewIntegrationFromAwsProxy(value *AwsProxyIntegration) *Integration
func NewIntegrationFromHttp ¶ added in v0.0.29
func NewIntegrationFromHttp(value *HttpIntegration) *Integration
func NewIntegrationFromHttpProxy ¶ added in v0.0.29
func NewIntegrationFromHttpProxy(value *HttpProxyIntegration) *Integration
func NewIntegrationFromMock ¶ added in v0.0.29
func NewIntegrationFromMock(value *MockIntegration) *Integration
func (*Integration) Accept ¶ added in v0.0.29
func (i *Integration) Accept(visitor IntegrationVisitor) error
func (Integration) MarshalJSON ¶ added in v0.0.29
func (i Integration) MarshalJSON() ([]byte, error)
func (*Integration) UnmarshalJSON ¶ added in v0.0.29
func (i *Integration) UnmarshalJSON(data []byte) error
type IntegrationVisitor ¶ added in v0.0.29
type IntegrationVisitor interface { VisitAwsProxy(*AwsProxyIntegration) error VisitAws(*AwsIntegration) error VisitMock(*MockIntegration) error VisitHttp(*HttpIntegration) error VisitHttpProxy(*HttpProxyIntegration) error }
type IpAddressType ¶
type IpAddressType string
const ( IpAddressTypeIpv4 IpAddressType = "IPV4" IpAddressTypeDualstack IpAddressType = "DUALSTACK" IpAddressTypeDualstackWithoutPublicIpv4 IpAddressType = "DUALSTACK_WITHOUT_PUBLIC_IPV4" )
func NewIpAddressTypeFromString ¶
func NewIpAddressTypeFromString(s string) (IpAddressType, error)
func (IpAddressType) Ptr ¶
func (i IpAddressType) Ptr() *IpAddressType
type Listener ¶
type Listener struct { Arn *string `json:"arn,omitempty" url:"arn,omitempty"` Protocol *Protocol `json:"protocol,omitempty" url:"protocol,omitempty"` Port int `json:"port" url:"port"` Certificates []*Certificate `json:"certificates,omitempty" url:"certificates,omitempty"` LoadBalancerArn *string `json:"loadBalancerArn,omitempty" url:"loadBalancerArn,omitempty"` // contains filtered or unexported fields }
func (*Listener) GetExtraProperties ¶
func (*Listener) UnmarshalJSON ¶
type LoadBalancerReport ¶
type LoadBalancerReport struct { AccountId string `json:"accountId" url:"accountId"` V2LoadBalancers []*LoadBalancerV2 `json:"v2LoadBalancers,omitempty" url:"v2LoadBalancers,omitempty"` V1LoadBalancers []*LoadBalancerV1 `json:"v1LoadBalancers,omitempty" url:"v1LoadBalancers,omitempty"` Errors []string `json:"errors,omitempty" url:"errors,omitempty"` // contains filtered or unexported fields }
func (*LoadBalancerReport) GetExtraProperties ¶
func (l *LoadBalancerReport) GetExtraProperties() map[string]interface{}
func (*LoadBalancerReport) String ¶
func (l *LoadBalancerReport) String() string
func (*LoadBalancerReport) UnmarshalJSON ¶
func (l *LoadBalancerReport) UnmarshalJSON(data []byte) error
type LoadBalancerState ¶
type LoadBalancerState string
const ( LoadBalancerStateActive LoadBalancerState = "ACTIVE" LoadBalancerStateProvisioning LoadBalancerState = "PROVISIONING" LoadBalancerStateActiveImpaired LoadBalancerState = "ACTIVE_IMPAIRED" LoadBalancerStateFailed LoadBalancerState = "FAILED" )
func NewLoadBalancerStateFromString ¶
func NewLoadBalancerStateFromString(s string) (LoadBalancerState, error)
func (LoadBalancerState) Ptr ¶
func (l LoadBalancerState) Ptr() *LoadBalancerState
type LoadBalancerV1 ¶
type LoadBalancerV1 struct { Name string `json:"name" url:"name"` Region string `json:"region" url:"region"` CreatedTime time.Time `json:"createdTime" url:"createdTime"` DnsName string `json:"dnsName" url:"dnsName"` SecurityGroupIds []string `json:"securityGroupIds,omitempty" url:"securityGroupIds,omitempty"` VpcId *string `json:"vpcId,omitempty" url:"vpcId,omitempty"` SubnetIds []string `json:"subnetIds,omitempty" url:"subnetIds,omitempty"` HostedZoneId *string `json:"hostedZoneId,omitempty" url:"hostedZoneId,omitempty"` Targets []*Target `json:"targets,omitempty" url:"targets,omitempty"` Listeners []*Listener `json:"listeners,omitempty" url:"listeners,omitempty"` // contains filtered or unexported fields }
func (*LoadBalancerV1) GetExtraProperties ¶
func (l *LoadBalancerV1) GetExtraProperties() map[string]interface{}
func (*LoadBalancerV1) MarshalJSON ¶
func (l *LoadBalancerV1) MarshalJSON() ([]byte, error)
func (*LoadBalancerV1) String ¶
func (l *LoadBalancerV1) String() string
func (*LoadBalancerV1) UnmarshalJSON ¶
func (l *LoadBalancerV1) UnmarshalJSON(data []byte) error
type LoadBalancerV2 ¶
type LoadBalancerV2 struct { Arn string `json:"arn" url:"arn"` Name string `json:"name" url:"name"` Region string `json:"region" url:"region"` CreatedTime time.Time `json:"createdTime" url:"createdTime"` DnsName string `json:"dnsName" url:"dnsName"` IpAddressType IpAddressType `json:"ipAddressType" url:"ipAddressType"` SecurityGroupIds []string `json:"securityGroupIds,omitempty" url:"securityGroupIds,omitempty"` State *LoadBalancerState `json:"state,omitempty" url:"state,omitempty"` VpcId *string `json:"vpcId,omitempty" url:"vpcId,omitempty"` Listeners []*Listener `json:"listeners,omitempty" url:"listeners,omitempty"` SubnetIds []string `json:"subnetIds,omitempty" url:"subnetIds,omitempty"` HostedZoneId *string `json:"hostedZoneId,omitempty" url:"hostedZoneId,omitempty"` TargetGroups []*TargetGroup `json:"targetGroups,omitempty" url:"targetGroups,omitempty"` // contains filtered or unexported fields }
LoadBalancer represents a load balancer that distributes incoming network traffic across multiple servers. As defined by the AWS Go SDK (https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/elasticloadbalancingv2@v1.33.1/types#LoadBalancer)
func (*LoadBalancerV2) GetExtraProperties ¶
func (l *LoadBalancerV2) GetExtraProperties() map[string]interface{}
func (*LoadBalancerV2) MarshalJSON ¶
func (l *LoadBalancerV2) MarshalJSON() ([]byte, error)
func (*LoadBalancerV2) String ¶
func (l *LoadBalancerV2) String() string
func (*LoadBalancerV2) UnmarshalJSON ¶
func (l *LoadBalancerV2) UnmarshalJSON(data []byte) error
type MockIntegration ¶ added in v0.0.29
type MockIntegration struct {
// contains filtered or unexported fields
}
func (*MockIntegration) GetExtraProperties ¶ added in v0.0.29
func (m *MockIntegration) GetExtraProperties() map[string]interface{}
func (*MockIntegration) String ¶ added in v0.0.29
func (m *MockIntegration) String() string
func (*MockIntegration) UnmarshalJSON ¶ added in v0.0.29
func (m *MockIntegration) UnmarshalJSON(data []byte) error
type RegionWafInfo ¶ added in v0.0.26
type RegionWafInfo struct { Region string `json:"region" url:"region"` Wafs []*Waf `json:"wafs,omitempty" url:"wafs,omitempty"` // contains filtered or unexported fields }
func (*RegionWafInfo) GetExtraProperties ¶ added in v0.0.26
func (r *RegionWafInfo) GetExtraProperties() map[string]interface{}
func (*RegionWafInfo) String ¶ added in v0.0.26
func (r *RegionWafInfo) String() string
func (*RegionWafInfo) UnmarshalJSON ¶ added in v0.0.26
func (r *RegionWafInfo) UnmarshalJSON(data []byte) error
type ResourceInfo ¶ added in v0.0.26
type ResourceInfo struct { Arn string `json:"arn" url:"arn"` Type WafResourceType `json:"type" url:"type"` // contains filtered or unexported fields }
func (*ResourceInfo) GetExtraProperties ¶ added in v0.0.26
func (r *ResourceInfo) GetExtraProperties() map[string]interface{}
func (*ResourceInfo) String ¶ added in v0.0.26
func (r *ResourceInfo) String() string
func (*ResourceInfo) UnmarshalJSON ¶ added in v0.0.26
func (r *ResourceInfo) UnmarshalJSON(data []byte) error
type RestApi ¶ added in v0.0.29
type RestApi struct { BaseUrl string `json:"baseUrl" url:"baseUrl"` Name string `json:"name" url:"name"` Region string `json:"region" url:"region"` CreatedTime time.Time `json:"createdTime" url:"createdTime"` Stage string `json:"stage" url:"stage"` Paths []*RestApiPath `json:"paths,omitempty" url:"paths,omitempty"` Decription *string `json:"decription,omitempty" url:"decription,omitempty"` // contains filtered or unexported fields }
func (*RestApi) GetExtraProperties ¶ added in v0.0.29
func (*RestApi) MarshalJSON ¶ added in v0.0.29
func (*RestApi) UnmarshalJSON ¶ added in v0.0.29
type RestApiPath ¶ added in v0.0.29
type RestApiPath struct { Path string `json:"path" url:"path"` Method string `json:"method" url:"method"` Integration *Integration `json:"integration,omitempty" url:"integration,omitempty"` // contains filtered or unexported fields }
func (*RestApiPath) GetExtraProperties ¶ added in v0.0.29
func (r *RestApiPath) GetExtraProperties() map[string]interface{}
func (*RestApiPath) String ¶ added in v0.0.29
func (r *RestApiPath) String() string
func (*RestApiPath) UnmarshalJSON ¶ added in v0.0.29
func (r *RestApiPath) UnmarshalJSON(data []byte) error
type RuleInfo ¶ added in v0.0.26
type RuleInfo struct { Name string `json:"name" url:"name"` Priority int `json:"priority" url:"priority"` Statement *StatementInfo `json:"statement,omitempty" url:"statement,omitempty"` Action *ActionInfo `json:"action,omitempty" url:"action,omitempty"` Labels []string `json:"labels,omitempty" url:"labels,omitempty"` JsonString string `json:"jsonString" url:"jsonString"` // contains filtered or unexported fields }
func (*RuleInfo) GetExtraProperties ¶ added in v0.0.26
func (*RuleInfo) UnmarshalJSON ¶ added in v0.0.26
type S3BucketAcl ¶ added in v0.0.13
type S3BucketAcl struct { GranteeUri string `json:"granteeURI" url:"granteeURI"` Permission string `json:"permission" url:"permission"` // contains filtered or unexported fields }
func (*S3BucketAcl) GetExtraProperties ¶ added in v0.0.13
func (s *S3BucketAcl) GetExtraProperties() map[string]interface{}
func (*S3BucketAcl) String ¶ added in v0.0.13
func (s *S3BucketAcl) String() string
func (*S3BucketAcl) UnmarshalJSON ¶ added in v0.0.13
func (s *S3BucketAcl) UnmarshalJSON(data []byte) error
type S3MfaDeleteStatus ¶ added in v0.0.13
type S3MfaDeleteStatus string
const ( S3MfaDeleteStatusEnabled S3MfaDeleteStatus = "Enabled" S3MfaDeleteStatusDisabled S3MfaDeleteStatus = "Disabled" )
func NewS3MfaDeleteStatusFromString ¶ added in v0.0.13
func NewS3MfaDeleteStatusFromString(s string) (S3MfaDeleteStatus, error)
func (S3MfaDeleteStatus) Ptr ¶ added in v0.0.13
func (s S3MfaDeleteStatus) Ptr() *S3MfaDeleteStatus
type S3ObjectDetails ¶ added in v0.0.13
type S3ObjectDetails struct { Key string `json:"key" url:"key"` LastModified *time.Time `json:"lastModified,omitempty" url:"lastModified,omitempty"` Size *int `json:"size,omitempty" url:"size,omitempty"` OwnerId *string `json:"ownerID,omitempty" url:"ownerID,omitempty"` OwnerName *string `json:"ownerName,omitempty" url:"ownerName,omitempty"` // contains filtered or unexported fields }
func (*S3ObjectDetails) GetExtraProperties ¶ added in v0.0.13
func (s *S3ObjectDetails) GetExtraProperties() map[string]interface{}
func (*S3ObjectDetails) MarshalJSON ¶ added in v0.0.13
func (s *S3ObjectDetails) MarshalJSON() ([]byte, error)
func (*S3ObjectDetails) String ¶ added in v0.0.13
func (s *S3ObjectDetails) String() string
func (*S3ObjectDetails) UnmarshalJSON ¶ added in v0.0.13
func (s *S3ObjectDetails) UnmarshalJSON(data []byte) error
type S3PublicAccessBlockConfiguration ¶ added in v0.0.13
type S3PublicAccessBlockConfiguration struct { BlockPublicAcls bool `json:"blockPublicAcls" url:"blockPublicAcls"` IgnorePublicAcls bool `json:"ignorePublicAcls" url:"ignorePublicAcls"` BlockPublicPolicy bool `json:"blockPublicPolicy" url:"blockPublicPolicy"` RestrictPublicBuckets bool `json:"restrictPublicBuckets" url:"restrictPublicBuckets"` // contains filtered or unexported fields }
func (*S3PublicAccessBlockConfiguration) GetExtraProperties ¶ added in v0.0.13
func (s *S3PublicAccessBlockConfiguration) GetExtraProperties() map[string]interface{}
func (*S3PublicAccessBlockConfiguration) String ¶ added in v0.0.13
func (s *S3PublicAccessBlockConfiguration) String() string
func (*S3PublicAccessBlockConfiguration) UnmarshalJSON ¶ added in v0.0.13
func (s *S3PublicAccessBlockConfiguration) UnmarshalJSON(data []byte) error
type S3Report ¶ added in v0.0.13
type S3Report struct { AccountId string `json:"accountId" url:"accountId"` S3Buckets []*Bucket `json:"s3Buckets,omitempty" url:"s3Buckets,omitempty"` Errors []string `json:"errors,omitempty" url:"errors,omitempty"` // contains filtered or unexported fields }
func (*S3Report) GetExtraProperties ¶ added in v0.0.13
func (*S3Report) UnmarshalJSON ¶ added in v0.0.13
type S3ServerSideEncryption ¶ added in v0.0.13
type S3ServerSideEncryption string
const ( S3ServerSideEncryptionAes256 S3ServerSideEncryption = "AES256" S3ServerSideEncryptionAwskms S3ServerSideEncryption = "aws:kms" S3ServerSideEncryptionAwskmsdsse S3ServerSideEncryption = "aws:kms:dsse" )
func NewS3ServerSideEncryptionFromString ¶ added in v0.0.13
func NewS3ServerSideEncryptionFromString(s string) (S3ServerSideEncryption, error)
func (S3ServerSideEncryption) Ptr ¶ added in v0.0.13
func (s S3ServerSideEncryption) Ptr() *S3ServerSideEncryption
type ScopeType ¶ added in v0.0.26
type ScopeType string
const (
ScopeTypeRegional ScopeType = "REGIONAL"
)
func NewScopeTypeFromString ¶ added in v0.0.26
type StatementInfo ¶ added in v0.0.27
type StatementInfo struct { Type StatementType `json:"type" url:"type"` JsonString *string `json:"jsonString,omitempty" url:"jsonString,omitempty"` // contains filtered or unexported fields }
func (*StatementInfo) GetExtraProperties ¶ added in v0.0.27
func (s *StatementInfo) GetExtraProperties() map[string]interface{}
func (*StatementInfo) String ¶ added in v0.0.27
func (s *StatementInfo) String() string
func (*StatementInfo) UnmarshalJSON ¶ added in v0.0.27
func (s *StatementInfo) UnmarshalJSON(data []byte) error
type StatementType ¶ added in v0.0.27
type StatementType string
const ( StatementTypeAnd StatementType = "AND" StatementTypeByteMatch StatementType = "BYTE_MATCH" StatementTypeGeoMatch StatementType = "GEO_MATCH" StatementTypeIpSetReference StatementType = "IP_SET_REFERENCE" StatementTypeLabelMatch StatementType = "LABEL_MATCH" StatementTypeManagedRuleGroup StatementType = "MANAGED_RULE_GROUP" StatementTypeNot StatementType = "NOT" StatementTypeOr StatementType = "OR" StatementTypeRateBased StatementType = "RATE_BASED" StatementTypeRegexMatch StatementType = "REGEX_MATCH" StatementTypeRegexPatternsetRefence StatementType = "REGEX_PATTERNSET_REFENCE" StatementTypeRuleGroupReference StatementType = "RULE_GROUP_REFERENCE" StatementTypeSizeConstraint StatementType = "SIZE_CONSTRAINT" StatementTypeSqliMatch StatementType = "SQLI_MATCH" StatementTypeXssMatch StatementType = "XSS_MATCH" StatementTypeOther StatementType = "OTHER" )
func NewStatementTypeFromString ¶ added in v0.0.27
func NewStatementTypeFromString(s string) (StatementType, error)
func (StatementType) Ptr ¶ added in v0.0.27
func (s StatementType) Ptr() *StatementType
type Target ¶
type Target struct { Id string `json:"id" url:"id"` Type TargetType `json:"type" url:"type"` Port int `json:"port" url:"port"` AvailabilityZone *string `json:"availabilityZone,omitempty" url:"availabilityZone,omitempty"` // contains filtered or unexported fields }
func (*Target) GetExtraProperties ¶
func (*Target) UnmarshalJSON ¶
type TargetGroup ¶
type TargetGroup struct { Arn string `json:"arn" url:"arn"` Name string `json:"name" url:"name"` IpAddressType TargetGroupIpAddressType `json:"ipAddressType" url:"ipAddressType"` LoadBalancerArn string `json:"loadBalancerArn" url:"loadBalancerArn"` Port int `json:"port" url:"port"` Protocol *Protocol `json:"protocol,omitempty" url:"protocol,omitempty"` VpcId *string `json:"vpcId,omitempty" url:"vpcId,omitempty"` Targets []*Target `json:"targets,omitempty" url:"targets,omitempty"` // contains filtered or unexported fields }
func (*TargetGroup) GetExtraProperties ¶
func (t *TargetGroup) GetExtraProperties() map[string]interface{}
func (*TargetGroup) String ¶
func (t *TargetGroup) String() string
func (*TargetGroup) UnmarshalJSON ¶
func (t *TargetGroup) UnmarshalJSON(data []byte) error
type TargetGroupIpAddressType ¶
type TargetGroupIpAddressType string
const ( TargetGroupIpAddressTypeIpv4 TargetGroupIpAddressType = "IPV4" TargetGroupIpAddressTypeIpv6 TargetGroupIpAddressType = "IPV6" )
func NewTargetGroupIpAddressTypeFromString ¶
func NewTargetGroupIpAddressTypeFromString(s string) (TargetGroupIpAddressType, error)
func (TargetGroupIpAddressType) Ptr ¶
func (t TargetGroupIpAddressType) Ptr() *TargetGroupIpAddressType
type TargetType ¶
type TargetType string
const ( TargetTypeInstance TargetType = "INSTANCE" TargetTypeIp TargetType = "IP" TargetTypeLambda TargetType = "LAMBDA" )
func NewTargetTypeFromString ¶
func NewTargetTypeFromString(s string) (TargetType, error)
func (TargetType) Ptr ¶
func (t TargetType) Ptr() *TargetType
type Waf ¶ added in v0.0.26
type Waf struct { Arn string `json:"arn" url:"arn"` Name string `json:"name" url:"name"` Description *string `json:"description,omitempty" url:"description,omitempty"` DefaultAction ActionType `json:"defaultAction" url:"defaultAction"` Rules []*RuleInfo `json:"rules,omitempty" url:"rules,omitempty"` Resources []*ResourceInfo `json:"resources,omitempty" url:"resources,omitempty"` // contains filtered or unexported fields }
func (*Waf) GetExtraProperties ¶ added in v0.0.26
func (*Waf) UnmarshalJSON ¶ added in v0.0.26
type WafReport ¶ added in v0.0.26
type WafReport struct { AccountId string `json:"accountId" url:"accountId"` Scope ScopeType `json:"scope" url:"scope"` Regions []*RegionWafInfo `json:"regions,omitempty" url:"regions,omitempty"` Errors []string `json:"errors,omitempty" url:"errors,omitempty"` // contains filtered or unexported fields }
func (*WafReport) GetExtraProperties ¶ added in v0.0.26
func (*WafReport) UnmarshalJSON ¶ added in v0.0.26
type WafResourceType ¶ added in v0.0.27
type WafResourceType string
const ( WafResourceTypeApplicationLoadBalancer WafResourceType = "APPLICATION_LOAD_BALANCER" WafResourceTypeApiGatewayRestApi WafResourceType = "API_GATEWAY_REST_API" WafResourceTypeAppsyncGraphqlApi WafResourceType = "APPSYNC_GRAPHQL_API" WafResourceTypeCognitoUserPool WafResourceType = "COGNITO_USER_POOL" WafResourceTypeAppRunnerService WafResourceType = "APP_RUNNER_SERVICE" WafResourceTypeVerifiedAccessInstance WafResourceType = "VERIFIED_ACCESS_INSTANCE" WafResourceTypeOther WafResourceType = "OTHER" )
func NewWafResourceTypeFromString ¶ added in v0.0.27
func NewWafResourceTypeFromString(s string) (WafResourceType, error)
func (WafResourceType) Ptr ¶ added in v0.0.27
func (w WafResourceType) Ptr() *WafResourceType
Click to show internal directories.
Click to hide internal directories.