Class CfnHub
A CloudFormation AWS::SecurityHub::Hub
.
Inherited Members
Namespace: Amazon.CDK.AWS.SecurityHub
Assembly: Amazon.CDK.AWS.SecurityHub.dll
Syntax (csharp)
public class CfnHub : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnHub
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
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 .
CloudformationResource: AWS::SecurityHub::Hub
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-hub.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SecurityHub;
var tags;
var cfnHub = new CfnHub(this, "MyCfnHub", new CfnHubProps {
Tags = tags
});
Synopsis
Constructors
CfnHub(Construct, String, ICfnHubProps) | Create a new |
CfnHub(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnHub(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Tags | The tags to add to the hub resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnHub(Construct, String, ICfnHubProps)
Create a new AWS::SecurityHub::Hub
.
public CfnHub(Construct scope, string id, ICfnHubProps props = null)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnHubProps
- resource properties.
CfnHub(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnHub(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnHub(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnHub(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Tags
The tags to add to the hub resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
- tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>