Documentation ¶
Index ¶
- func CfnHub_CFN_RESOURCE_TYPE_NAME() *string
- func CfnHub_IsCfnElement(x interface{}) *bool
- func CfnHub_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnHub_IsConstruct(x interface{}) *bool
- func NewCfnHub_Override(c CfnHub, scope constructs.Construct, id *string, props *CfnHubProps)
- type CfnHub
- type CfnHubProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnHub_CFN_RESOURCE_TYPE_NAME ¶
func CfnHub_CFN_RESOURCE_TYPE_NAME() *string
func CfnHub_IsCfnElement ¶
func CfnHub_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnHub_IsCfnResource ¶
func CfnHub_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource.
func CfnHub_IsConstruct ¶
func CfnHub_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func NewCfnHub_Override ¶
func NewCfnHub_Override(c CfnHub, scope constructs.Construct, id *string, props *CfnHubProps)
Create a new `AWS::SecurityHub::Hub`.
Types ¶
type CfnHub ¶
type CfnHub interface { awscdk.CfnResource awscdk.IInspectable CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string LogicalId() *string Node() constructs.Node Ref() *string Stack() awscdk.Stack Tags() awscdk.TagManager UpdatedProperites() *map[string]interface{} AddDeletionOverride(path *string) AddDependsOn(target awscdk.CfnResource) AddMetadata(key *string, value interface{}) AddOverride(path *string, value interface{}) AddPropertyDeletionOverride(propertyPath *string) AddPropertyOverride(propertyPath *string, value interface{}) ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions) GetAtt(attributeName *string) awscdk.Reference GetMetadata(key *string) interface{} Inspect(inspector awscdk.TreeInspector) OverrideLogicalId(newLogicalId *string) RenderProperties(props *map[string]interface{}) *map[string]interface{} ShouldSynthesize() *bool ToString() *string ValidateProperties(_properties interface{}) }
A CloudFormation `AWS::SecurityHub::Hub`.
The `AWS::SecurityHub::Hub` resource represents the implementation of the AWS Security Hub service in your account. One hub resource is created for each Region in which you enable Security Hub .
The CIS AWS Foundations Benchmark standard and the Foundational Security Best Practices standard are also enabled in each Region where you enable Security Hub .
TODO: EXAMPLE
func NewCfnHub ¶
func NewCfnHub(scope constructs.Construct, id *string, props *CfnHubProps) CfnHub
Create a new `AWS::SecurityHub::Hub`.
type CfnHubProps ¶
type CfnHubProps struct {
// The tags to add to the hub resource.
Tags interface{} `json:"tags" yaml:"tags"`
}
Properties for defining a `CfnHub`.
TODO: EXAMPLE