Class CfnIPSet
A CloudFormation AWS::GuardDuty::IPSet
.
Inherited Members
Namespace: Amazon.CDK.AWS.GuardDuty
Assembly: Amazon.CDK.AWS.GuardDuty.dll
Syntax (csharp)
public class CfnIPSet : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnIPSet
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
The AWS::GuardDuty::IPSet
resource specifies a new IPSet
. An IPSet
is a list of trusted IP addresses from which secure communication is allowed with AWS infrastructure and applications.
CloudformationResource: AWS::GuardDuty::IPSet
Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-ipset.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.GuardDuty;
var cfnIPSet = new CfnIPSet(this, "MyCfnIPSet", new CfnIPSetProps {
Activate = false,
DetectorId = "detectorId",
Format = "format",
Location = "location",
// the properties below are optional
Name = "name",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnIPSet(Construct, String, ICfnIPSetProps) | Create a new |
CfnIPSet(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnIPSet(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
Activate | Indicates whether or not GuardDuty uses the |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
DetectorId | The unique ID of the detector of the GuardDuty account that you want to create an IPSet for. |
Format | The format of the file that contains the IPSet. |
Location | The URI of the file that contains the IPSet. |
Name | The user-friendly name to identify the IPSet. |
Tags | The tags to be added to a new IP set resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnIPSet(Construct, String, ICfnIPSetProps)
Create a new AWS::GuardDuty::IPSet
.
public CfnIPSet(Construct scope, string id, ICfnIPSetProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnIPSetProps
- resource properties.
CfnIPSet(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnIPSet(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnIPSet(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnIPSet(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
Activate
Indicates whether or not GuardDuty uses the IPSet
.
public virtual object Activate { get; set; }
Property Value
System.Object
Remarks
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
DetectorId
The unique ID of the detector of the GuardDuty account that you want to create an IPSet for.
public virtual string DetectorId { get; set; }
Property Value
System.String
Remarks
Format
The format of the file that contains the IPSet.
public virtual string Format { get; set; }
Property Value
System.String
Remarks
Location
The URI of the file that contains the IPSet.
public virtual string Location { get; set; }
Property Value
System.String
Remarks
Name
The user-friendly name to identify the IPSet.
public virtual string Name { get; set; }
Property Value
System.String
Remarks
Allowed characters are alphanumeric, whitespace, dash (-), and underscores (_).
Tags
The tags to be added to a new IP set resource.
public virtual TagManager Tags { get; }
Property Value
Remarks
Each tag consists of a key and an optional value, both of which you define.
For more information, see Tag .
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>