Class CfnTheme
A CloudFormation AWS::AmplifyUIBuilder::Theme
.
Inherited Members
Namespace: Amazon.CDK.AWS.AmplifyUIBuilder
Assembly: Amazon.CDK.AWS.AmplifyUIBuilder.dll
Syntax (csharp)
public class CfnTheme : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnTheme
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
The AWS::AmplifyUIBuilder::Theme resource specifies a theme within an Amplify app. 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 {
Name = "name",
Values = new [] { new ThemeValuesProperty {
Key = "key",
Value = new ThemeValueProperty {
Children = new [] { themeValuesProperty_ },
Value = "value"
}
} },
// the properties below are optional
AppId = "appId",
EnvironmentName = "environmentName",
Overrides = new [] { new ThemeValuesProperty {
Key = "key",
Value = new ThemeValueProperty {
Children = new [] { themeValuesProperty_ },
Value = "value"
}
} },
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
});
Synopsis
Constructors
CfnTheme(Construct, String, ICfnThemeProps) | Create a new |
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 |
Properties
AppId |
|
AttrId | The ID for the theme. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
EnvironmentName |
|
Name | The name of the theme. |
Overrides | Describes the properties that can be overriden to customize a theme. |
Tags | 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(Construct, String, ICfnThemeProps)
Create a new AWS::AmplifyUIBuilder::Theme
.
public CfnTheme(Construct scope, string id, ICfnThemeProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnThemeProps
- resource properties.
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
Properties
AppId
AWS::AmplifyUIBuilder::Theme.AppId
.
public virtual string AppId { get; set; }
Property Value
System.String
Remarks
AttrId
The ID for the theme.
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
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
AWS::AmplifyUIBuilder::Theme.EnvironmentName
.
public virtual string EnvironmentName { get; set; }
Property Value
System.String
Remarks
Name
The name of the theme.
public virtual string Name { get; set; }
Property Value
System.String
Remarks
Overrides
Describes the properties that can be overriden to customize a theme.
public virtual object Overrides { get; set; }
Property Value
System.Object
Remarks
Tags
One or more key-value pairs to use when tagging the theme.
public virtual TagManager Tags { get; }
Property Value
Remarks
Values
A list of key-value pairs that defines the properties of the theme.
public virtual object Values { get; set; }
Property Value
System.Object
Remarks
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>