Class CfnDefaultViewAssociation
Sets the specified view as the default for the AWS Region in which you call this operation.
Inherited Members
Namespace: Amazon.CDK.AWS.ResourceExplorer2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDefaultViewAssociation : CfnResource, IInspectable, IDefaultViewAssociationRef, IConstruct, IDependable, IEnvironmentAware
Syntax (vb)
Public Class CfnDefaultViewAssociation Inherits CfnResource Implements IInspectable, IDefaultViewAssociationRef, IConstruct, IDependable, IEnvironmentAware
Remarks
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) | Sets the specified view as the default for the AWS Region in which you call this operation. |
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 | Sets the specified view as the default for the AWS Region in which you call this operation. |
| DefaultViewAssociationRef | A reference to a DefaultViewAssociation resource. |
| 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>) | Sets the specified view as the default for the AWS Region in which you call this operation. |
Constructors
CfnDefaultViewAssociation(Construct, string, ICfnDefaultViewAssociationProps)
Sets the specified view as the default for the AWS Region in which you call this operation.
public CfnDefaultViewAssociation(Construct scope, string id, ICfnDefaultViewAssociationProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnDefaultViewAssociationProps
Resource properties.
Remarks
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
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
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
Remarks
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
CfnProperties
Sets the specified view as the default for the AWS Region in which you call this operation.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
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
DefaultViewAssociationRef
A reference to a DefaultViewAssociation resource.
public virtual IDefaultViewAssociationReference DefaultViewAssociationRef { get; }
Property Value
IDefaultViewAssociationReference
Remarks
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
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
Remarks
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
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
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
RenderProperties(IDictionary<string, object>)
Sets the specified view as the default for the AWS Region in which you call this operation.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
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