heroku.review.AppConfig
Explore with Pulumi AI
Create AppConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppConfig(name: string, args: AppConfigArgs, opts?: CustomResourceOptions);
@overload
def AppConfig(resource_name: str,
args: AppConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
deploy_target: Optional[AppConfigDeployTargetArgs] = None,
org_repo: Optional[str] = None,
pipeline_id: Optional[str] = None,
automatic_review_apps: Optional[bool] = None,
base_name: Optional[str] = None,
destroy_stale_apps: Optional[bool] = None,
stale_days: Optional[int] = None,
wait_for_ci: Optional[bool] = None)
func NewAppConfig(ctx *Context, name string, args AppConfigArgs, opts ...ResourceOption) (*AppConfig, error)
public AppConfig(string name, AppConfigArgs args, CustomResourceOptions? opts = null)
public AppConfig(String name, AppConfigArgs args)
public AppConfig(String name, AppConfigArgs args, CustomResourceOptions options)
type: heroku:review:AppConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AppConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AppConfigArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AppConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AppConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AppConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var appConfigResource = new Heroku.Review.AppConfig("appConfigResource", new()
{
DeployTarget = new Heroku.Review.Inputs.AppConfigDeployTargetArgs
{
Id = "string",
Type = "string",
},
OrgRepo = "string",
PipelineId = "string",
AutomaticReviewApps = false,
BaseName = "string",
DestroyStaleApps = false,
StaleDays = 0,
WaitForCi = false,
});
example, err := review.NewAppConfig(ctx, "appConfigResource", &review.AppConfigArgs{
DeployTarget: &review.AppConfigDeployTargetArgs{
Id: pulumi.String("string"),
Type: pulumi.String("string"),
},
OrgRepo: pulumi.String("string"),
PipelineId: pulumi.String("string"),
AutomaticReviewApps: pulumi.Bool(false),
BaseName: pulumi.String("string"),
DestroyStaleApps: pulumi.Bool(false),
StaleDays: pulumi.Int(0),
WaitForCi: pulumi.Bool(false),
})
var appConfigResource = new AppConfig("appConfigResource", AppConfigArgs.builder()
.deployTarget(AppConfigDeployTargetArgs.builder()
.id("string")
.type("string")
.build())
.orgRepo("string")
.pipelineId("string")
.automaticReviewApps(false)
.baseName("string")
.destroyStaleApps(false)
.staleDays(0)
.waitForCi(false)
.build());
app_config_resource = heroku.review.AppConfig("appConfigResource",
deploy_target={
"id": "string",
"type": "string",
},
org_repo="string",
pipeline_id="string",
automatic_review_apps=False,
base_name="string",
destroy_stale_apps=False,
stale_days=0,
wait_for_ci=False)
const appConfigResource = new heroku.review.AppConfig("appConfigResource", {
deployTarget: {
id: "string",
type: "string",
},
orgRepo: "string",
pipelineId: "string",
automaticReviewApps: false,
baseName: "string",
destroyStaleApps: false,
staleDays: 0,
waitForCi: false,
});
type: heroku:review:AppConfig
properties:
automaticReviewApps: false
baseName: string
deployTarget:
id: string
type: string
destroyStaleApps: false
orgRepo: string
pipelineId: string
staleDays: 0
waitForCi: false
AppConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The AppConfig resource accepts the following input properties:
- Deploy
Target Pulumiverse.Heroku. Review. Inputs. App Config Deploy Target - Org
Repo string - Pipeline
Id string - Automatic
Review boolApps - Base
Name string - Destroy
Stale boolApps - Stale
Days int - Wait
For boolCi
- Deploy
Target AppConfig Deploy Target Args - Org
Repo string - Pipeline
Id string - Automatic
Review boolApps - Base
Name string - Destroy
Stale boolApps - Stale
Days int - Wait
For boolCi
- deploy
Target AppConfig Deploy Target - org
Repo String - pipeline
Id String - automatic
Review BooleanApps - base
Name String - destroy
Stale BooleanApps - stale
Days Integer - wait
For BooleanCi
- deploy
Target AppConfig Deploy Target - org
Repo string - pipeline
Id string - automatic
Review booleanApps - base
Name string - destroy
Stale booleanApps - stale
Days number - wait
For booleanCi
- deploy_
target AppConfig Deploy Target Args - org_
repo str - pipeline_
id str - automatic_
review_ boolapps - base_
name str - destroy_
stale_ boolapps - stale_
days int - wait_
for_ boolci
- deploy
Target Property Map - org
Repo String - pipeline
Id String - automatic
Review BooleanApps - base
Name String - destroy
Stale BooleanApps - stale
Days Number - wait
For BooleanCi
Outputs
All input properties are implicitly available as output properties. Additionally, the AppConfig resource produces the following output properties:
Look up Existing AppConfig Resource
Get an existing AppConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AppConfigState, opts?: CustomResourceOptions): AppConfig
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
automatic_review_apps: Optional[bool] = None,
base_name: Optional[str] = None,
deploy_target: Optional[AppConfigDeployTargetArgs] = None,
destroy_stale_apps: Optional[bool] = None,
org_repo: Optional[str] = None,
pipeline_id: Optional[str] = None,
repo_id: Optional[int] = None,
stale_days: Optional[int] = None,
wait_for_ci: Optional[bool] = None) -> AppConfig
func GetAppConfig(ctx *Context, name string, id IDInput, state *AppConfigState, opts ...ResourceOption) (*AppConfig, error)
public static AppConfig Get(string name, Input<string> id, AppConfigState? state, CustomResourceOptions? opts = null)
public static AppConfig get(String name, Output<String> id, AppConfigState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Automatic
Review boolApps - Base
Name string - Deploy
Target Pulumiverse.Heroku. Review. Inputs. App Config Deploy Target - Destroy
Stale boolApps - Org
Repo string - Pipeline
Id string - Repo
Id int - Stale
Days int - Wait
For boolCi
- Automatic
Review boolApps - Base
Name string - Deploy
Target AppConfig Deploy Target Args - Destroy
Stale boolApps - Org
Repo string - Pipeline
Id string - Repo
Id int - Stale
Days int - Wait
For boolCi
- automatic
Review BooleanApps - base
Name String - deploy
Target AppConfig Deploy Target - destroy
Stale BooleanApps - org
Repo String - pipeline
Id String - repo
Id Integer - stale
Days Integer - wait
For BooleanCi
- automatic
Review booleanApps - base
Name string - deploy
Target AppConfig Deploy Target - destroy
Stale booleanApps - org
Repo string - pipeline
Id string - repo
Id number - stale
Days number - wait
For booleanCi
- automatic_
review_ boolapps - base_
name str - deploy_
target AppConfig Deploy Target Args - destroy_
stale_ boolapps - org_
repo str - pipeline_
id str - repo_
id int - stale_
days int - wait_
for_ boolci
- automatic
Review BooleanApps - base
Name String - deploy
Target Property Map - destroy
Stale BooleanApps - org
Repo String - pipeline
Id String - repo
Id Number - stale
Days Number - wait
For BooleanCi
Supporting Types
AppConfigDeployTarget, AppConfigDeployTargetArgs
Package Details
- Repository
- heroku pulumiverse/pulumi-heroku
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
heroku
Terraform Provider.