Class CfnOrganizationAdmin
The AWS::Detective::OrganizationAdmin
resource is an Amazon Detective resource type that designates the Detective administrator account for the organization in the current region.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Detective
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnOrganizationAdmin : CfnResource, IInspectable
Syntax (vb)
Public Class CfnOrganizationAdmin
Inherits CfnResource
Implements IInspectable
Remarks
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(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 |
CfnOrganizationAdmin(Construct, String, ICfnOrganizationAdminProps) |
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(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
CfnOrganizationAdmin(Construct, String, ICfnOrganizationAdminProps)
public CfnOrganizationAdmin(Construct scope, string id, ICfnOrganizationAdminProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnOrganizationAdminProps
Resource properties.
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
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>