Class CfnDefaultViewAssociation
Sets the specified view as the default for the AWS Region in which you call this operation.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.ResourceExplorer2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDefaultViewAssociation : CfnResource, IInspectable
Syntax (vb)
Public Class CfnDefaultViewAssociation
Inherits CfnResource
Implements IInspectable
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(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 |
CfnDefaultViewAssociation(Construct, String, ICfnDefaultViewAssociationProps) |
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(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
CfnDefaultViewAssociation(Construct, String, ICfnDefaultViewAssociationProps)
public CfnDefaultViewAssociation(Construct scope, string id, ICfnDefaultViewAssociationProps 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 ICfnDefaultViewAssociationProps
Resource properties.
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
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>