1. Packages
  2. Heroku
  3. API Docs
  4. space
  5. AppAccess
Heroku v1.0.3 published on Friday, Apr 14, 2023 by pulumiverse - Marcel Arns

heroku.space.AppAccess

Explore with Pulumi AI

heroku logo
Heroku v1.0.3 published on Friday, Apr 14, 2023 by pulumiverse - Marcel Arns

    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 string
    The unique name of the resource.
    args AppAccessArgs
    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 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 string
    The unique name of the resource.
    args AppAccessArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AppAccessArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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 string
    Permissions List<string>
    Space string
    Email string
    Permissions []string
    Space string
    email String
    permissions List<String>
    space String
    email string
    permissions string[]
    space string
    email str
    permissions Sequence[str]
    space str
    email String
    permissions List<String>
    space String

    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)
    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.
    The following state arguments are supported:
    Email string
    Permissions List<string>
    Space string
    Email string
    Permissions []string
    Space string
    email String
    permissions List<String>
    space String
    email string
    permissions string[]
    space string
    email str
    permissions Sequence[str]
    space str
    email String
    permissions List<String>
    space String

    Package Details

    Repository
    heroku pulumiverse/pulumi-heroku
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the heroku Terraform Provider.
    heroku logo
    Heroku v1.0.3 published on Friday, Apr 14, 2023 by pulumiverse - Marcel Arns