BasicLayoutProperty Struct
Content specific to BasicLayout type.
It configures fields in the top panel and More Info tab of agent application.
| 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_cases as cases } from 'aws-cdk-lib';
const basicLayoutProperty: cases.CfnLayout.BasicLayoutProperty = {
moreInfo: {
sections: [{
fieldGroup: {
fields: [{
id: 'id',
}],
// the properties below are optional
name: 'name',
},
}],
},
topPanel: {
sections: [{
fieldGroup: {
fields: [{
id: 'id',
}],
// the properties below are optional
name: 'name',
},
}],
},
};
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_cases as cases
basic_layout_property = cases.CfnLayout.BasicLayoutProperty(
more_info=cases.CfnLayout.LayoutSectionsProperty(
sections=[cases.CfnLayout.SectionProperty(
field_group=cases.CfnLayout.FieldGroupProperty(
fields=[cases.CfnLayout.FieldItemProperty(
id="id"
)],
# the properties below are optional
name="name"
)
)]
),
top_panel=cases.CfnLayout.LayoutSectionsProperty(
sections=[cases.CfnLayout.SectionProperty(
field_group=cases.CfnLayout.FieldGroupProperty(
fields=[cases.CfnLayout.FieldItemProperty(
id="id"
)],
# the properties below are optional
name="name"
)
)]
)
)
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.cases.*;
BasicLayoutProperty basicLayoutProperty = BasicLayoutProperty.builder()
.moreInfo(LayoutSectionsProperty.builder()
.sections(List.of(SectionProperty.builder()
.fieldGroup(FieldGroupProperty.builder()
.fields(List.of(FieldItemProperty.builder()
.id("id")
.build()))
// the properties below are optional
.name("name")
.build())
.build()))
.build())
.topPanel(LayoutSectionsProperty.builder()
.sections(List.of(SectionProperty.builder()
.fieldGroup(FieldGroupProperty.builder()
.fields(List.of(FieldItemProperty.builder()
.id("id")
.build()))
// the properties below are optional
.name("name")
.build())
.build()))
.build())
.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.Cases;
var basicLayoutProperty = new BasicLayoutProperty {
MoreInfo = new LayoutSectionsProperty {
Sections = new [] { new SectionProperty {
FieldGroup = new FieldGroupProperty {
Fields = new [] { new FieldItemProperty {
Id = "id"
} },
// the properties below are optional
Name = "name"
}
} }
},
TopPanel = new LayoutSectionsProperty {
Sections = new [] { new SectionProperty {
FieldGroup = new FieldGroupProperty {
Fields = new [] { new FieldItemProperty {
Id = "id"
} },
// the properties below are optional
Name = "name"
}
} }
}
};
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"
basicLayoutProperty := &BasicLayoutProperty{
MoreInfo: &LayoutSectionsProperty{
Sections: []interface{}{
&SectionProperty{
FieldGroup: &FieldGroupProperty{
Fields: []interface{}{
&FieldItemProperty{
Id: jsii.String("id"),
},
},
// the properties below are optional
Name: jsii.String("name"),
},
},
},
},
TopPanel: &LayoutSectionsProperty{
Sections: []interface{}{
&SectionProperty{
FieldGroup: &FieldGroupProperty{
Fields: []interface{}{
&FieldItemProperty{
Id: jsii.String("id"),
},
},
// the properties below are optional
Name: jsii.String("name"),
},
},
},
},
}
Properties
moreInfooptionalIResolvable | CfnLayout.LayoutSectionsPropertymore_infooptionaltyping.Union[IResolvable, LayoutSectionsProperty]moreInfooptionalIResolvableMoreInfooptionalIResolvableMoreInfooptionalinterface{} #This represents sections in a tab of the page layout.
topPaneloptionalIResolvable | CfnLayout.LayoutSectionsPropertytop_paneloptionaltyping.Union[IResolvable, LayoutSectionsProperty]topPaneloptionalIResolvableTopPaneloptionalIResolvableTopPaneloptionalinterface{} #This represents sections in a panel of the page layout.