Class CfnServiceAction
A CloudFormation AWS::ServiceCatalog::ServiceAction
.
Inherited Members
Namespace: Amazon.CDK.AWS.ServiceCatalog
Assembly: Amazon.CDK.AWS.ServiceCatalog.dll
Syntax (csharp)
public class CfnServiceAction : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnServiceAction
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
Creates a self-service action.
CloudformationResource: AWS::ServiceCatalog::ServiceAction
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.ServiceCatalog;
var cfnServiceAction = new CfnServiceAction(this, "MyCfnServiceAction", new CfnServiceActionProps {
Definition = new [] { new DefinitionParameterProperty {
Key = "key",
Value = "value"
} },
DefinitionType = "definitionType",
Name = "name",
// the properties below are optional
AcceptLanguage = "acceptLanguage",
Description = "description"
});
Synopsis
Constructors
CfnServiceAction(Construct, String, ICfnServiceActionProps) | Create a new |
CfnServiceAction(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnServiceAction(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Properties
AcceptLanguage | The language code. |
AttrId | The self-service action identifier. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Definition | A map that defines the self-service action. |
DefinitionType | The self-service action definition type. |
Description | The self-service action description. |
Name | The self-service action name. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnServiceAction(Construct, String, ICfnServiceActionProps)
Create a new AWS::ServiceCatalog::ServiceAction
.
public CfnServiceAction(Construct scope, string id, ICfnServiceActionProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnServiceActionProps
- resource properties.
CfnServiceAction(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnServiceAction(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnServiceAction(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnServiceAction(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Properties
AcceptLanguage
The language code.
public virtual string AcceptLanguage { get; set; }
Property Value
System.String
Remarks
AttrId
The self-service action identifier.
public virtual string AttrId { get; }
Property Value
System.String
Remarks
For example, act-fs7abcd89wxyz
.
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
Definition
A map that defines the self-service action.
public virtual object Definition { get; set; }
Property Value
System.Object
Remarks
DefinitionType
The self-service action definition type.
public virtual string DefinitionType { get; set; }
Property Value
System.String
Remarks
Description
The self-service action description.
public virtual string Description { get; set; }
Property Value
System.String
Remarks
Name
The self-service action name.
public virtual string Name { get; set; }
Property Value
System.String
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>