Class CfnDefaultViewAssociation
A CloudFormation AWS::ResourceExplorer2::DefaultViewAssociation
.
Inherited Members
Namespace: Amazon.CDK.AWS.ResourceExplorer2
Assembly: Amazon.CDK.AWS.ResourceExplorer2.dll
Syntax (csharp)
public class CfnDefaultViewAssociation : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnDefaultViewAssociation
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Sets the specified view as the default for the AWS Region in which you call this operation. If a user makes a search query that doesn't explicitly specify the view to use, Resource Explorer chooses this default view automatically for searches performed in this AWS Region .
CloudformationResource: AWS::ResourceExplorer2::DefaultViewAssociation
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.ResourceExplorer2;
var cfnDefaultViewAssociation = new CfnDefaultViewAssociation(this, "MyCfnDefaultViewAssociation", new CfnDefaultViewAssociationProps {
ViewArn = "viewArn"
});
Synopsis
Constructors
CfnDefaultViewAssociation(Construct, String, ICfnDefaultViewAssociationProps) | Create a new |
CfnDefaultViewAssociation(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnDefaultViewAssociation(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AttrAssociatedAwsPrincipal | The unique identifier of the principal for which the specified view was made the default for the AWS Region that contains the view. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ViewArn | The ARN of the view to set as the default for the AWS Region and AWS account in which you call this operation. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnDefaultViewAssociation(Construct, String, ICfnDefaultViewAssociationProps)
Create a new AWS::ResourceExplorer2::DefaultViewAssociation
.
public CfnDefaultViewAssociation(Construct scope, string id, ICfnDefaultViewAssociationProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnDefaultViewAssociationProps
- resource properties.
CfnDefaultViewAssociation(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnDefaultViewAssociation(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnDefaultViewAssociation(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnDefaultViewAssociation(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AttrAssociatedAwsPrincipal
The unique identifier of the principal for which the specified view was made the default for the AWS Region that contains the view.
public virtual string AttrAssociatedAwsPrincipal { get; }
Property Value
System.String
Remarks
For example:
123456789012
CloudformationAttribute: AssociatedAwsPrincipal
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
ViewArn
The ARN of the view to set as the default for the AWS Region and AWS account in which you call this operation.
public virtual string ViewArn { get; set; }
Property Value
System.String
Remarks
The specified view must already exist in the specified Region.
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>