CfnDefaultViewAssociationProps Struct
Properties for defining a CfnDefaultViewAssociation.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_resourceexplorer2 as resourceexplorer2 } from 'aws-cdk-lib';
const cfnDefaultViewAssociationProps: resourceexplorer2.CfnDefaultViewAssociationProps = {
viewArn: 'viewArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_resourceexplorer2 as resourceexplorer2
cfn_default_view_association_props = resourceexplorer2.CfnDefaultViewAssociationProps(
view_arn="viewArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.resourceexplorer2.*;
CfnDefaultViewAssociationProps cfnDefaultViewAssociationProps = CfnDefaultViewAssociationProps.builder()
.viewArn("viewArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 cfnDefaultViewAssociationProps = new CfnDefaultViewAssociationProps {
ViewArn = "viewArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnDefaultViewAssociationProps := &CfnDefaultViewAssociationProps{
ViewArn: jsii.String("viewArn"),
}
Properties
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.