Class CfnOrganizationAdmin
A CloudFormation AWS::Detective::OrganizationAdmin
.
Inherited Members
Namespace: Amazon.CDK.AWS.Detective
Assembly: Amazon.CDK.AWS.Detective.dll
Syntax (csharp)
public class CfnOrganizationAdmin : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnOrganizationAdmin
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
The AWS::Detective::OrganizationAdmin
resource is an Amazon Detective resource type that designates the Detective administrator account for the organization in the current region. If the account does not have Detective enabled, then this resource enables Detective for that account and creates a new behavior graph.
CloudformationResource: AWS::Detective::OrganizationAdmin
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.Detective;
var cfnOrganizationAdmin = new CfnOrganizationAdmin(this, "MyCfnOrganizationAdmin", new CfnOrganizationAdminProps {
AccountId = "accountId"
});
Synopsis
Constructors
CfnOrganizationAdmin(Construct, String, ICfnOrganizationAdminProps) | Create a new |
CfnOrganizationAdmin(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnOrganizationAdmin(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AccountId | The AWS account identifier of the account to designate as the Detective administrator account for the organization. |
AttrGraphArn | The ARN of the behavior graph to invite the account to contribute data to. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnOrganizationAdmin(Construct, String, ICfnOrganizationAdminProps)
Create a new AWS::Detective::OrganizationAdmin
.
public CfnOrganizationAdmin(Construct scope, string id, ICfnOrganizationAdminProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnOrganizationAdminProps
- resource properties.
CfnOrganizationAdmin(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnOrganizationAdmin(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnOrganizationAdmin(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnOrganizationAdmin(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AccountId
The AWS account identifier of the account to designate as the Detective administrator account for the organization.
public virtual string AccountId { get; set; }
Property Value
System.String
Remarks
AttrGraphArn
The ARN of the behavior graph to invite the account to contribute data to.
public virtual string AttrGraphArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: GraphArn
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
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>