Skip to content
v2.278.0

ThemeReference Struct ​

A reference to a Theme resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_amplifyuibuilder as interfaces_amplifyuibuilder } from 'aws-cdk-lib/interfaces';
const themeReference: interfaces_amplifyuibuilder.ThemeReference = {
  appId: 'appId',
  environmentName: 'environmentName',
  themeId: 'themeId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_amplifyuibuilder as interfaces_amplifyuibuilder

theme_reference = interfaces_amplifyuibuilder.ThemeReference(
    app_id="appId",
    environment_name="environmentName",
    theme_id="themeId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.amplifyuibuilder.*;

ThemeReference themeReference = ThemeReference.builder()
        .appId("appId")
        .environmentName("environmentName")
        .themeId("themeId")
        .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.Interfaces.AmplifyUIBuilder;

var themeReference = new ThemeReference {
    AppId = "appId",
    EnvironmentName = "environmentName",
    ThemeId = "themeId"
};
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"

themeReference := &ThemeReference{
	AppId: jsii.String("appId"),
	EnvironmentName: jsii.String("environmentName"),
	ThemeId: jsii.String("themeId"),
}

Properties ​

appIdstringapp_idstrappIdStringAppIdstringAppId*string required #
The AppId of the Theme resource.
environmentNamestringenvironment_namestrenvironmentNameStringEnvironmentNamestringEnvironmentName*string required #
The EnvironmentName of the Theme resource.
themeIdstringtheme_idstrthemeIdStringThemeIdstringThemeId*string required #
The Id of the Theme resource.