heroku.space.AppAccess
Explore with Pulumi AI
Create AppAccess Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AppAccess(name: string, args: AppAccessArgs, opts?: CustomResourceOptions);
@overload
def AppAccess(resource_name: str,
args: AppAccessArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AppAccess(resource_name: str,
opts: Optional[ResourceOptions] = None,
email: Optional[str] = None,
permissions: Optional[Sequence[str]] = None,
space: Optional[str] = None)
func NewAppAccess(ctx *Context, name string, args AppAccessArgs, opts ...ResourceOption) (*AppAccess, error)
public AppAccess(string name, AppAccessArgs args, CustomResourceOptions? opts = null)
public AppAccess(String name, AppAccessArgs args)
public AppAccess(String name, AppAccessArgs args, CustomResourceOptions options)
type: heroku:space:AppAccess
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. AppAccessArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. AppAccessArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. AppAccessArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. AppAccessArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. AppAccessArgs - 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 appAccessResource = new Heroku.Space.AppAccess("appAccessResource", new()
{
Email = "string",
Permissions = new[]
{
"string",
},
Space = "string",
});
example, err := space.NewAppAccess(ctx, "appAccessResource", &space.AppAccessArgs{
Email: pulumi.String("string"),
Permissions: pulumi.StringArray{
pulumi.String("string"),
},
Space: pulumi.String("string"),
})
var appAccessResource = new AppAccess("appAccessResource", AppAccessArgs.builder()
.email("string")
.permissions("string")
.space("string")
.build());
app_access_resource = heroku.space.AppAccess("appAccessResource",
email="string",
permissions=["string"],
space="string")
const appAccessResource = new heroku.space.AppAccess("appAccessResource", {
email: "string",
permissions: ["string"],
space: "string",
});
type: heroku:space:AppAccess
properties:
email: string
permissions:
- string
space: string
AppAccess 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 AppAccess resource accepts the following input properties:
- Email
This property is required. Changes to this property will trigger replacement.
- Permissions
This property is required. List<string> - Space
This property is required. Changes to this property will trigger replacement.
- Email
This property is required. Changes to this property will trigger replacement.
- Permissions
This property is required. []string - Space
This property is required. Changes to this property will trigger replacement.
- email
This property is required. Changes to this property will trigger replacement.
- permissions
This property is required. List<String> - space
This property is required. Changes to this property will trigger replacement.
- email
This property is required. Changes to this property will trigger replacement.
- permissions
This property is required. string[] - space
This property is required. Changes to this property will trigger replacement.
- email
This property is required. Changes to this property will trigger replacement.
- permissions
This property is required. Sequence[str] - space
This property is required. Changes to this property will trigger replacement.
- email
This property is required. Changes to this property will trigger replacement.
- permissions
This property is required. List<String> - space
This property is required. Changes to this property will trigger replacement.
Outputs
All input properties are implicitly available as output properties. Additionally, the AppAccess resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AppAccess Resource
Get an existing AppAccess 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?: AppAccessState, opts?: CustomResourceOptions): AppAccess
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
email: Optional[str] = None,
permissions: Optional[Sequence[str]] = None,
space: Optional[str] = None) -> AppAccess
func GetAppAccess(ctx *Context, name string, id IDInput, state *AppAccessState, opts ...ResourceOption) (*AppAccess, error)
public static AppAccess Get(string name, Input<string> id, AppAccessState? state, CustomResourceOptions? opts = null)
public static AppAccess get(String name, Output<String> id, AppAccessState state, CustomResourceOptions options)
resources: _: type: heroku:space:AppAccess get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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.
- Email
Changes to this property will trigger replacement.
- Permissions List<string>
- Space
Changes to this property will trigger replacement.
- Email
Changes to this property will trigger replacement.
- Permissions []string
- Space
Changes to this property will trigger replacement.
- email
Changes to this property will trigger replacement.
- permissions List<String>
- space
Changes to this property will trigger replacement.
- email
Changes to this property will trigger replacement.
- permissions string[]
- space
Changes to this property will trigger replacement.
- email
Changes to this property will trigger replacement.
- permissions Sequence[str]
- space
Changes to this property will trigger replacement.
- email
Changes to this property will trigger replacement.
- permissions List<String>
- space
Changes to this property will trigger replacement.
Package Details
- Repository
- heroku pulumiverse/pulumi-heroku
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
heroku
Terraform Provider.