Class CfnServiceAction
Creates a self-service action.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Servicecatalog
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnServiceAction : CfnResource, IInspectable
Syntax (vb)
Public Class CfnServiceAction Inherits CfnResource Implements IInspectable
Remarks
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) | Creates a self-service action. |
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 | Creates a self-service action. |
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>) | Creates a self-service action. |
Constructors
CfnServiceAction(Construct, string, ICfnServiceActionProps)
Creates a self-service action.
public CfnServiceAction(Construct scope, string id, ICfnServiceActionProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnServiceActionProps
Resource properties.
Remarks
CloudformationResource: AWS::ServiceCatalog::ServiceAction
ExampleMetadata: fixture=_generated
Properties
AcceptLanguage
The language code.
public virtual string? AcceptLanguage { get; set; }
Property Value
Remarks
CloudformationResource: AWS::ServiceCatalog::ServiceAction
ExampleMetadata: fixture=_generated
AttrId
The self-service action identifier.
public virtual string AttrId { get; }
Property Value
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
Remarks
CloudformationResource: AWS::ServiceCatalog::ServiceAction
ExampleMetadata: fixture=_generated
CfnProperties
Creates a self-service action.
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::ServiceCatalog::ServiceAction
ExampleMetadata: fixture=_generated
Definition
A map that defines the self-service action.
public virtual object Definition { get; set; }
Property Value
Remarks
CloudformationResource: AWS::ServiceCatalog::ServiceAction
ExampleMetadata: fixture=_generated
DefinitionType
The self-service action definition type.
public virtual string DefinitionType { get; set; }
Property Value
Remarks
CloudformationResource: AWS::ServiceCatalog::ServiceAction
ExampleMetadata: fixture=_generated
Description
The self-service action description.
public virtual string? Description { get; set; }
Property Value
Remarks
CloudformationResource: AWS::ServiceCatalog::ServiceAction
ExampleMetadata: fixture=_generated
Name
The self-service action name.
public virtual string Name { get; set; }
Property Value
Remarks
CloudformationResource: AWS::ServiceCatalog::ServiceAction
ExampleMetadata: fixture=_generated
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.
Remarks
CloudformationResource: AWS::ServiceCatalog::ServiceAction
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Creates a self-service action.
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudformationResource: AWS::ServiceCatalog::ServiceAction
ExampleMetadata: fixture=_generated