Class CfnMaster
You can use the AWS::GuardDuty::Master resource in a GuardDuty member account to accept an invitation from a GuardDuty administrator account.
Inherited Members
Namespace: Amazon.CDK.AWS.GuardDuty
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnMaster : CfnResource, IInspectable, IMasterRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnMaster Inherits CfnResource Implements IInspectable, IMasterRef, IConstruct, IDependable, IEnvironmentAware
Remarks
The invitation to the member account must be sent prior to using the AWS::GuardDuty::Master resource to accept the administrator account's invitation. You can invite a member account by using the InviteMembers operation of the GuardDuty API, or by creating an AWS::GuardDuty::Member resource.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-master.html
CloudformationResource: AWS::GuardDuty::Master
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 cfnMaster = new CfnMaster(this, "MyCfnMaster", new CfnMasterProps {
DetectorId = "detectorId",
MasterId = "masterId",
// the properties below are optional
InvitationId = "invitationId"
});
Synopsis
Constructors
| CfnMaster(Construct, string, ICfnMasterProps) | Create a new |
Properties
| CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
| CfnProperties | You can use the |
| CfnPropertyNames | You can use the |
| DetectorId | The unique ID of the detector of the GuardDuty member account. |
| InvitationId | The ID of the invitation that is sent to the account designated as a member account. |
| MasterId | The AWS account ID of the account designated as the GuardDuty administrator account. |
| MasterRef | A reference to a Master resource. |
Methods
| Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
| IsCfnMaster(object) | Checks whether the given object is a CfnMaster. |
| RenderProperties(IDictionary<string, object>) | You can use the |
Constructors
CfnMaster(Construct, string, ICfnMasterProps)
Create a new AWS::GuardDuty::Master.
public CfnMaster(Construct scope, string id, ICfnMasterProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnMasterProps
Resource properties.
Remarks
The invitation to the member account must be sent prior to using the AWS::GuardDuty::Master resource to accept the administrator account's invitation. You can invite a member account by using the InviteMembers operation of the GuardDuty API, or by creating an AWS::GuardDuty::Member resource.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-master.html
CloudformationResource: AWS::GuardDuty::Master
ExampleMetadata: fixture=_generated
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
The invitation to the member account must be sent prior to using the AWS::GuardDuty::Master resource to accept the administrator account's invitation. You can invite a member account by using the InviteMembers operation of the GuardDuty API, or by creating an AWS::GuardDuty::Member resource.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-master.html
CloudformationResource: AWS::GuardDuty::Master
ExampleMetadata: fixture=_generated
CfnProperties
You can use the AWS::GuardDuty::Master resource in a GuardDuty member account to accept an invitation from a GuardDuty administrator account.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
The invitation to the member account must be sent prior to using the AWS::GuardDuty::Master resource to accept the administrator account's invitation. You can invite a member account by using the InviteMembers operation of the GuardDuty API, or by creating an AWS::GuardDuty::Member resource.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-master.html
CloudformationResource: AWS::GuardDuty::Master
ExampleMetadata: fixture=_generated
CfnPropertyNames
You can use the AWS::GuardDuty::Master resource in a GuardDuty member account to accept an invitation from a GuardDuty administrator account.
protected override IDictionary<string, string> CfnPropertyNames { get; }
Property Value
Overrides
Remarks
The invitation to the member account must be sent prior to using the AWS::GuardDuty::Master resource to accept the administrator account's invitation. You can invite a member account by using the InviteMembers operation of the GuardDuty API, or by creating an AWS::GuardDuty::Member resource.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-master.html
CloudformationResource: AWS::GuardDuty::Master
ExampleMetadata: fixture=_generated
DetectorId
The unique ID of the detector of the GuardDuty member account.
public virtual string DetectorId { get; set; }
Property Value
Remarks
The invitation to the member account must be sent prior to using the AWS::GuardDuty::Master resource to accept the administrator account's invitation. You can invite a member account by using the InviteMembers operation of the GuardDuty API, or by creating an AWS::GuardDuty::Member resource.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-master.html
CloudformationResource: AWS::GuardDuty::Master
ExampleMetadata: fixture=_generated
InvitationId
The ID of the invitation that is sent to the account designated as a member account.
public virtual string? InvitationId { get; set; }
Property Value
Remarks
The invitation to the member account must be sent prior to using the AWS::GuardDuty::Master resource to accept the administrator account's invitation. You can invite a member account by using the InviteMembers operation of the GuardDuty API, or by creating an AWS::GuardDuty::Member resource.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-master.html
CloudformationResource: AWS::GuardDuty::Master
ExampleMetadata: fixture=_generated
MasterId
The AWS account ID of the account designated as the GuardDuty administrator account.
public virtual string MasterId { get; set; }
Property Value
Remarks
The invitation to the member account must be sent prior to using the AWS::GuardDuty::Master resource to accept the administrator account's invitation. You can invite a member account by using the InviteMembers operation of the GuardDuty API, or by creating an AWS::GuardDuty::Member resource.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-master.html
CloudformationResource: AWS::GuardDuty::Master
ExampleMetadata: fixture=_generated
MasterRef
A reference to a Master resource.
public virtual IMasterReference MasterRef { get; }
Property Value
Remarks
The invitation to the member account must be sent prior to using the AWS::GuardDuty::Master resource to accept the administrator account's invitation. You can invite a member account by using the InviteMembers operation of the GuardDuty API, or by creating an AWS::GuardDuty::Member resource.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-master.html
CloudformationResource: AWS::GuardDuty::Master
ExampleMetadata: fixture=_generated
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.
Remarks
The invitation to the member account must be sent prior to using the AWS::GuardDuty::Master resource to accept the administrator account's invitation. You can invite a member account by using the InviteMembers operation of the GuardDuty API, or by creating an AWS::GuardDuty::Member resource.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-master.html
CloudformationResource: AWS::GuardDuty::Master
ExampleMetadata: fixture=_generated
IsCfnMaster(object)
Checks whether the given object is a CfnMaster.
public static bool IsCfnMaster(object x)
Parameters
- x object
Returns
Remarks
The invitation to the member account must be sent prior to using the AWS::GuardDuty::Master resource to accept the administrator account's invitation. You can invite a member account by using the InviteMembers operation of the GuardDuty API, or by creating an AWS::GuardDuty::Member resource.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-master.html
CloudformationResource: AWS::GuardDuty::Master
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
You can use the AWS::GuardDuty::Master resource in a GuardDuty member account to accept an invitation from a GuardDuty administrator account.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
The invitation to the member account must be sent prior to using the AWS::GuardDuty::Master resource to accept the administrator account's invitation. You can invite a member account by using the InviteMembers operation of the GuardDuty API, or by creating an AWS::GuardDuty::Member resource.
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-master.html
CloudformationResource: AWS::GuardDuty::Master
ExampleMetadata: fixture=_generated