Show / Hide Table of Contents

Class CfnTheme

A CloudFormation AWS::AmplifyUIBuilder::Theme.

Inheritance
System.Object
Construct
CfnElement
CfnRefElement
CfnResource
CfnTheme
Implements
IConstruct
Constructs.IConstruct
IDependable
IInspectable
Inherited Members
CfnResource.IsCfnResource(IConstruct)
CfnResource.AddDeletionOverride(String)
CfnResource.AddDependsOn(CfnResource)
CfnResource.AddMetadata(String, Object)
CfnResource.AddOverride(String, Object)
CfnResource.AddPropertyDeletionOverride(String)
CfnResource.AddPropertyOverride(String, Object)
CfnResource.ApplyRemovalPolicy(Nullable<RemovalPolicy>, IRemovalPolicyOptions)
CfnResource.GetAtt(String)
CfnResource.GetMetadata(String)
CfnResource.ShouldSynthesize()
CfnResource.ToString()
CfnResource.ValidateProperties(Object)
CfnResource.CfnOptions
CfnResource.CfnResourceType
CfnResource.UpdatedProperites
CfnRefElement.Ref
CfnElement.IsCfnElement(Object)
CfnElement.OverrideLogicalId(String)
CfnElement.CreationStack
CfnElement.LogicalId
CfnElement.Stack
Construct.IsConstruct(Object)
Construct.OnPrepare()
Construct.OnSynthesize(ISynthesisSession)
Construct.OnValidate()
Construct.Prepare()
Construct.Synthesize(ISynthesisSession)
Construct.Validate()
Construct.Node
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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-theme.html

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 AWS::AmplifyUIBuilder::Theme.

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

AWS::AmplifyUIBuilder::Theme.AppId.

AttrId

The ID for the theme.

CFN_RESOURCE_TYPE_NAME

The CloudFormation resource type name for this resource class.

CfnProperties
EnvironmentName

AWS::AmplifyUIBuilder::Theme.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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-theme.html#cfn-amplifyuibuilder-theme-appid

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
CfnResource.CfnProperties

EnvironmentName

AWS::AmplifyUIBuilder::Theme.EnvironmentName.

public virtual string EnvironmentName { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-theme.html#cfn-amplifyuibuilder-theme-environmentname

Name

The name of the theme.

public virtual string Name { get; set; }
Property Value

System.String

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-theme.html#cfn-amplifyuibuilder-theme-name

Overrides

Describes the properties that can be overriden to customize a theme.

public virtual object Overrides { get; set; }
Property Value

System.Object

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-theme.html#cfn-amplifyuibuilder-theme-overrides

Tags

One or more key-value pairs to use when tagging the theme.

public virtual TagManager Tags { get; }
Property Value

TagManager

Remarks

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-theme.html#cfn-amplifyuibuilder-theme-tags

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

Link: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplifyuibuilder-theme.html#cfn-amplifyuibuilder-theme-values

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>

Overrides
CfnResource.RenderProperties(IDictionary<String, Object>)

Implements

IConstruct
Constructs.IConstruct
IDependable
IInspectable
Back to top Generated by DocFX