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:
- DeployTarget Pulumiverse.Heroku. Review. Inputs. App Config Deploy Target 
- OrgRepo string
- PipelineId string
- AutomaticReview boolApps 
- BaseName string
- DestroyStale boolApps 
- StaleDays int
- WaitFor boolCi 
- DeployTarget AppConfig Deploy Target Args 
- OrgRepo string
- PipelineId string
- AutomaticReview boolApps 
- BaseName string
- DestroyStale boolApps 
- StaleDays int
- WaitFor boolCi 
- deployTarget AppConfig Deploy Target 
- orgRepo String
- pipelineId String
- automaticReview BooleanApps 
- baseName String
- destroyStale BooleanApps 
- staleDays Integer
- waitFor BooleanCi 
- deployTarget AppConfig Deploy Target 
- orgRepo string
- pipelineId string
- automaticReview booleanApps 
- baseName string
- destroyStale booleanApps 
- staleDays number
- waitFor 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 
- deployTarget Property Map
- orgRepo String
- pipelineId String
- automaticReview BooleanApps 
- baseName String
- destroyStale BooleanApps 
- staleDays Number
- waitFor 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) -> AppConfigfunc 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)resources:  _:    type: heroku:review:AppConfig    get:      id: ${id}- 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.
- AutomaticReview boolApps 
- BaseName string
- DeployTarget Pulumiverse.Heroku. Review. Inputs. App Config Deploy Target 
- DestroyStale boolApps 
- OrgRepo string
- PipelineId string
- RepoId int
- StaleDays int
- WaitFor boolCi 
- AutomaticReview boolApps 
- BaseName string
- DeployTarget AppConfig Deploy Target Args 
- DestroyStale boolApps 
- OrgRepo string
- PipelineId string
- RepoId int
- StaleDays int
- WaitFor boolCi 
- automaticReview BooleanApps 
- baseName String
- deployTarget AppConfig Deploy Target 
- destroyStale BooleanApps 
- orgRepo String
- pipelineId String
- repoId Integer
- staleDays Integer
- waitFor BooleanCi 
- automaticReview booleanApps 
- baseName string
- deployTarget AppConfig Deploy Target 
- destroyStale booleanApps 
- orgRepo string
- pipelineId string
- repoId number
- staleDays number
- waitFor 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 
- automaticReview BooleanApps 
- baseName String
- deployTarget Property Map
- destroyStale BooleanApps 
- orgRepo String
- pipelineId String
- repoId Number
- staleDays Number
- waitFor BooleanCi 
Supporting Types
AppConfigDeployTarget, AppConfigDeployTargetArgs        
Package Details
- Repository
- heroku pulumiverse/pulumi-heroku
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the herokuTerraform Provider.