AWS Fundamentals Logo
AWS Fundamentals
L1 ConstructAWS::ResourceExplorer2::DefaultViewAssociation

CfnDefaultViewAssociation

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 .

Import

import { CfnDefaultViewAssociation } from 'aws-cdk-lib/aws-resourceexplorer2';

Or use the module namespace:

import * as resourceexplorer2 from 'aws-cdk-lib/aws-resourceexplorer2';
// resourceexplorer2.CfnDefaultViewAssociation

Properties

Configuration passed to the constructor as CfnDefaultViewAssociationProps.

viewArnRequired
string

The ARN of the view to set as the default for the AWS Region and AWS account in which you call this operation. The specified view must already exist in the specified Region.

CloudFormation Resource

This L1 construct maps directly to the following CloudFormation resource type.

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter

Quick Facts

LevelL1 (CloudFormation)
Moduleaws-resourceexplorer2
CFN TypeAWS::ResourceExplorer2::DefaultViewAssociation
Properties1

Related Constructs

External Links