heroku.addon.Addon
Explore with Pulumi AI
Create Addon Resource
new Addon(name: string, args: AddonArgs, opts?: CustomResourceOptions);
@overload
def Addon(resource_name: str,
opts: Optional[ResourceOptions] = None,
app_id: Optional[str] = None,
config: Optional[Mapping[str, Any]] = None,
name: Optional[str] = None,
plan: Optional[str] = None)
@overload
def Addon(resource_name: str,
args: AddonArgs,
opts: Optional[ResourceOptions] = None)
func NewAddon(ctx *Context, name string, args AddonArgs, opts ...ResourceOption) (*Addon, error)
public Addon(string name, AddonArgs args, CustomResourceOptions? opts = null)
type: heroku:addon:Addon
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AddonArgs
- 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 AddonArgs
- 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 AddonArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AddonArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AddonArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Addon Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Addon resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the Addon resource produces the following output properties:
- Config
Var Dictionary<string, string>Values - Config
Vars List<string> - Id string
The provider-assigned unique ID for this managed resource.
- Provider
Id string
- Config
Var map[string]stringValues - Config
Vars []string - Id string
The provider-assigned unique ID for this managed resource.
- Provider
Id string
- config
Var Map<String,String>Values - config
Vars List<String> - id String
The provider-assigned unique ID for this managed resource.
- provider
Id String
- config
Var {[key: string]: string}Values - config
Vars string[] - id string
The provider-assigned unique ID for this managed resource.
- provider
Id string
- config_
var_ Mapping[str, str]values - config_
vars Sequence[str] - id str
The provider-assigned unique ID for this managed resource.
- provider_
id str
- config
Var Map<String>Values - config
Vars List<String> - id String
The provider-assigned unique ID for this managed resource.
- provider
Id String
Look up Existing Addon Resource
Get an existing Addon 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?: AddonState, opts?: CustomResourceOptions): Addon
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
app_id: Optional[str] = None,
config: Optional[Mapping[str, Any]] = None,
config_var_values: Optional[Mapping[str, str]] = None,
config_vars: Optional[Sequence[str]] = None,
name: Optional[str] = None,
plan: Optional[str] = None,
provider_id: Optional[str] = None) -> Addon
func GetAddon(ctx *Context, name string, id IDInput, state *AddonState, opts ...ResourceOption) (*Addon, error)
public static Addon Get(string name, Input<string> id, AddonState? state, CustomResourceOptions? opts = null)
public static Addon get(String name, Output<String> id, AddonState 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.
- App
Id string - Config Dictionary<string, object>
- Config
Var Dictionary<string, string>Values - Config
Vars List<string> - Name string
- Plan string
- Provider
Id string
- App
Id string - Config map[string]interface{}
- Config
Var map[string]stringValues - Config
Vars []string - Name string
- Plan string
- Provider
Id string
- app
Id String - config Map<String,Object>
- config
Var Map<String,String>Values - config
Vars List<String> - name String
- plan String
- provider
Id String
- app
Id string - config {[key: string]: any}
- config
Var {[key: string]: string}Values - config
Vars string[] - name string
- plan string
- provider
Id string
- app_
id str - config Mapping[str, Any]
- config_
var_ Mapping[str, str]values - config_
vars Sequence[str] - name str
- plan str
- provider_
id str
- app
Id String - config Map<Any>
- config
Var Map<String>Values - config
Vars List<String> - name String
- plan String
- provider
Id String
Package Details
- Repository
- heroku pulumiverse/pulumi-heroku
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
heroku
Terraform Provider.