-
Notifications
You must be signed in to change notification settings - Fork 17
/
ServiceCatalogDeployActionBeta1Props.go
62 lines (59 loc) · 2.85 KB
/
ServiceCatalogDeployActionBeta1Props.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package awscodepipelineactions
import (
"github.com/aws/aws-cdk-go/awscdk/v2/awscodepipeline"
"github.com/aws/aws-cdk-go/awscdk/v2/awsiam"
)
// Construction properties of the `ServiceCatalogDeployActionBeta1 ServiceCatalog deploy CodePipeline Action`.
//
// Example:
// cdkBuildOutput := codepipeline.NewArtifact()
// serviceCatalogDeployAction := codepipeline_actions.NewServiceCatalogDeployActionBeta1(&ServiceCatalogDeployActionBeta1Props{
// ActionName: jsii.String("ServiceCatalogDeploy"),
// TemplatePath: cdkBuildOutput.AtPath(jsii.String("Sample.template.json")),
// ProductVersionName: jsii.String("Version - " + date.now.toString),
// ProductVersionDescription: jsii.String("This is a version from the pipeline with a new description."),
// ProductId: jsii.String("prod-XXXXXXXX"),
// })
//
type ServiceCatalogDeployActionBeta1Props struct {
// The physical, human-readable name of the Action.
//
// Note that Action names must be unique within a single Stage.
ActionName *string `field:"required" json:"actionName" yaml:"actionName"`
// The runOrder property for this Action.
//
// RunOrder determines the relative order in which multiple Actions in the same Stage execute.
// See: https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html
//
// Default: 1.
//
RunOrder *float64 `field:"optional" json:"runOrder" yaml:"runOrder"`
// The name of the namespace to use for variables emitted by this action.
// Default: - a name will be generated, based on the stage and action names,
// if any of the action's variables were referenced - otherwise,
// no namespace will be set.
//
VariablesNamespace *string `field:"optional" json:"variablesNamespace" yaml:"variablesNamespace"`
// The Role in which context's this Action will be executing in.
//
// The Pipeline's Role will assume this Role
// (the required permissions for that will be granted automatically)
// right before executing this Action.
// This Action will be passed into your `IAction.bind`
// method in the `ActionBindOptions.role` property.
// Default: a new Role will be generated.
//
Role awsiam.IRole `field:"optional" json:"role" yaml:"role"`
// The identifier of the product in the Service Catalog.
//
// This product must already exist.
ProductId *string `field:"required" json:"productId" yaml:"productId"`
// The name of the version of the Service Catalog product to be deployed.
ProductVersionName *string `field:"required" json:"productVersionName" yaml:"productVersionName"`
// The path to the cloudformation artifact.
TemplatePath awscodepipeline.ArtifactPath `field:"required" json:"templatePath" yaml:"templatePath"`
// The optional description of this version of the Service Catalog product.
// Default: ''.
//
ProductVersionDescription *string `field:"optional" json:"productVersionDescription" yaml:"productVersionDescription"`
}