Class CfnTheme
The AWS::AmplifyUIBuilder::Theme resource specifies a theme within an Amplify app.
Inherited Members
Namespace: Amazon.CDK.AWS.AmplifyUIBuilder
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnTheme : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnTheme
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
A theme is a collection of style settings that apply globally to the components associated with the app.
CloudformationResource: AWS::AmplifyUIBuilder::Theme
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.AmplifyUIBuilder;
ThemeValuesProperty themeValuesProperty_;
var cfnTheme = new CfnTheme(this, "MyCfnTheme", new CfnThemeProps {
AppId = "appId",
EnvironmentName = "environmentName",
Name = "name",
Overrides = new [] { new ThemeValuesProperty {
Key = "key",
Value = new ThemeValueProperty {
Children = new [] { themeValuesProperty_ },
Value = "value"
}
} },
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
},
Values = new [] { new ThemeValuesProperty {
Key = "key",
Value = new ThemeValueProperty {
Children = new [] { themeValuesProperty_ },
Value = "value"
}
} }
});
Synopsis
Constructors
CfnTheme(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnTheme(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnTheme(Construct, String, ICfnThemeProps) |
Properties
AppId | The unique ID for the Amplify app associated with the theme. |
AttrCreatedAt | The time that the theme was created. |
AttrId | The ID for the theme. |
AttrModifiedAt | The time that the theme was modified. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
EnvironmentName | The name of the backend environment that is a part of the Amplify app. |
Name | The name of the theme. |
Overrides | Describes the properties that can be overriden to customize a theme. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | One or more key-value pairs to use when tagging the theme. |
Values | A list of key-value pairs that defines the properties of the theme. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnTheme(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnTheme(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnTheme(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnTheme(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnTheme(Construct, String, ICfnThemeProps)
public CfnTheme(Construct scope, string id, ICfnThemeProps props = null)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnThemeProps
Resource properties.
Properties
AppId
The unique ID for the Amplify app associated with the theme.
public virtual string AppId { get; set; }
Property Value
System.String
AttrCreatedAt
The time that the theme was created.
public virtual string AttrCreatedAt { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreatedAt
AttrId
The ID for the theme.
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
AttrModifiedAt
The time that the theme was modified.
public virtual string AttrModifiedAt { get; }
Property Value
System.String
Remarks
CloudformationAttribute: ModifiedAt
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
EnvironmentName
The name of the backend environment that is a part of the Amplify app.
public virtual string EnvironmentName { get; set; }
Property Value
System.String
Name
The name of the theme.
public virtual string Name { get; set; }
Property Value
System.String
Overrides
Describes the properties that can be overriden to customize a theme.
public virtual object Overrides { get; set; }
Property Value
System.Object
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
One or more key-value pairs to use when tagging the theme.
public virtual IDictionary<string, string> TagsRaw { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
Values
A list of key-value pairs that defines the properties of the theme.
public virtual object Values { get; set; }
Property Value
System.Object
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>