Class CfnUsageProfile
Creates an AWS Glue usage profile.
Inherited Members
Namespace: Amazon.CDK.AWS.Glue
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnUsageProfile : CfnResource, IInspectable, ITaggableV2
Syntax (vb)
Public Class CfnUsageProfile
Inherits CfnResource
Implements IInspectable, ITaggableV2
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-usageprofile.html
CloudformationResource: AWS::Glue::UsageProfile
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.Glue;
var cfnUsageProfile = new CfnUsageProfile(this, "MyCfnUsageProfile", new CfnUsageProfileProps {
Name = "name",
// the properties below are optional
Configuration = new ProfileConfigurationProperty {
JobConfiguration = new Dictionary<string, object> {
{ "jobConfigurationKey", new ConfigurationObjectProperty {
AllowedValues = new [] { "allowedValues" },
DefaultValue = "defaultValue",
MaxValue = "maxValue",
MinValue = "minValue"
} }
},
SessionConfiguration = new Dictionary<string, object> {
{ "sessionConfigurationKey", new ConfigurationObjectProperty {
AllowedValues = new [] { "allowedValues" },
DefaultValue = "defaultValue",
MaxValue = "maxValue",
MinValue = "minValue"
} }
}
},
Description = "description",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnUsageProfile(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnUsageProfile(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnUsageProfile(Construct, String, ICfnUsageProfileProps) |
Properties
AttrCreatedOn | The date and time when the usage profile was created. |
CdkTagManager | Tag Manager which manages the tags for this resource. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Configuration | |
Description | A description of the usage profile. |
Name | The name of the usage profile. |
Tags | The tags to be applied to this UsageProfiles. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnUsageProfile(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnUsageProfile(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnUsageProfile(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnUsageProfile(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnUsageProfile(Construct, String, ICfnUsageProfileProps)
public CfnUsageProfile(Construct scope, string id, ICfnUsageProfileProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnUsageProfileProps
Resource properties.
Properties
AttrCreatedOn
The date and time when the usage profile was created.
public virtual string AttrCreatedOn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: CreatedOn
CdkTagManager
Tag Manager which manages the tags for this resource.
public virtual TagManager CdkTagManager { get; }
Property Value
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
Configuration
public virtual object Configuration { get; set; }
Property Value
System.Object
Description
A description of the usage profile.
public virtual string Description { get; set; }
Property Value
System.String
Name
The name of the usage profile.
public virtual string Name { get; set; }
Property Value
System.String
Tags
The tags to be applied to this UsageProfiles.
public virtual ICfnTag[] Tags { get; set; }
Property Value
ICfnTag[]
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>