konnect.IntegrationInstanceAuthConfig
Explore with Pulumi AI
IntegrationInstanceAuthConfig Resource
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.konnect.IntegrationInstanceAuthConfig;
import com.pulumi.konnect.IntegrationInstanceAuthConfigArgs;
import com.pulumi.konnect.inputs.IntegrationInstanceAuthConfigOauthConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var myIntegrationinstanceauthconfig = new IntegrationInstanceAuthConfig("myIntegrationinstanceauthconfig", IntegrationInstanceAuthConfigArgs.builder()
.integrationInstanceId("3f51fa25-310a-421d-bd1a-007f859021a3")
.oauthConfig(IntegrationInstanceAuthConfigOauthConfigArgs.builder()
.authorization_endpoint("https://identity.service.com/oauth/authorize")
.client_id("d745213a-b7e8-4998-abe3-41f164001970")
.client_secret("s3cr3t4p1cl13ntt0k3n1234567890abcdef")
.token_endpoint("https://identity.service.com/oauth/token")
.build())
.build());
}
}
resources:
myIntegrationinstanceauthconfig:
type: konnect:IntegrationInstanceAuthConfig
properties:
integrationInstanceId: 3f51fa25-310a-421d-bd1a-007f859021a3
oauthConfig:
authorization_endpoint: https://identity.service.com/oauth/authorize
client_id: d745213a-b7e8-4998-abe3-41f164001970
client_secret: s3cr3t4p1cl13ntt0k3n1234567890abcdef
token_endpoint: https://identity.service.com/oauth/token
Create IntegrationInstanceAuthConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IntegrationInstanceAuthConfig(name: string, args: IntegrationInstanceAuthConfigArgs, opts?: CustomResourceOptions);
@overload
def IntegrationInstanceAuthConfig(resource_name: str,
args: IntegrationInstanceAuthConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IntegrationInstanceAuthConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
integration_instance_id: Optional[str] = None,
oauth_config: Optional[IntegrationInstanceAuthConfigOauthConfigArgs] = None)
func NewIntegrationInstanceAuthConfig(ctx *Context, name string, args IntegrationInstanceAuthConfigArgs, opts ...ResourceOption) (*IntegrationInstanceAuthConfig, error)
public IntegrationInstanceAuthConfig(string name, IntegrationInstanceAuthConfigArgs args, CustomResourceOptions? opts = null)
public IntegrationInstanceAuthConfig(String name, IntegrationInstanceAuthConfigArgs args)
public IntegrationInstanceAuthConfig(String name, IntegrationInstanceAuthConfigArgs args, CustomResourceOptions options)
type: konnect:IntegrationInstanceAuthConfig
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 IntegrationInstanceAuthConfigArgs
- 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 IntegrationInstanceAuthConfigArgs
- 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 IntegrationInstanceAuthConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationInstanceAuthConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IntegrationInstanceAuthConfigArgs
- 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 integrationInstanceAuthConfigResource = new Konnect.IntegrationInstanceAuthConfig("integrationInstanceAuthConfigResource", new()
{
IntegrationInstanceId = "string",
OauthConfig = new Konnect.Inputs.IntegrationInstanceAuthConfigOauthConfigArgs
{
AuthorizationEndpoint = "string",
ClientId = "string",
ClientSecret = "string",
TokenEndpoint = "string",
},
});
example, err := konnect.NewIntegrationInstanceAuthConfig(ctx, "integrationInstanceAuthConfigResource", &konnect.IntegrationInstanceAuthConfigArgs{
IntegrationInstanceId: pulumi.String("string"),
OauthConfig: &konnect.IntegrationInstanceAuthConfigOauthConfigArgs{
AuthorizationEndpoint: pulumi.String("string"),
ClientId: pulumi.String("string"),
ClientSecret: pulumi.String("string"),
TokenEndpoint: pulumi.String("string"),
},
})
var integrationInstanceAuthConfigResource = new IntegrationInstanceAuthConfig("integrationInstanceAuthConfigResource", IntegrationInstanceAuthConfigArgs.builder()
.integrationInstanceId("string")
.oauthConfig(IntegrationInstanceAuthConfigOauthConfigArgs.builder()
.authorizationEndpoint("string")
.clientId("string")
.clientSecret("string")
.tokenEndpoint("string")
.build())
.build());
integration_instance_auth_config_resource = konnect.IntegrationInstanceAuthConfig("integrationInstanceAuthConfigResource",
integration_instance_id="string",
oauth_config={
"authorization_endpoint": "string",
"client_id": "string",
"client_secret": "string",
"token_endpoint": "string",
})
const integrationInstanceAuthConfigResource = new konnect.IntegrationInstanceAuthConfig("integrationInstanceAuthConfigResource", {
integrationInstanceId: "string",
oauthConfig: {
authorizationEndpoint: "string",
clientId: "string",
clientSecret: "string",
tokenEndpoint: "string",
},
});
type: konnect:IntegrationInstanceAuthConfig
properties:
integrationInstanceId: string
oauthConfig:
authorizationEndpoint: string
clientId: string
clientSecret: string
tokenEndpoint: string
IntegrationInstanceAuthConfig 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 IntegrationInstanceAuthConfig resource accepts the following input properties:
- Integration
Instance stringId - The
id
of the integration instance. - Oauth
Config IntegrationInstance Auth Config Oauth Config
- Integration
Instance stringId - The
id
of the integration instance. - Oauth
Config IntegrationInstance Auth Config Oauth Config Args
- integration
Instance StringId - The
id
of the integration instance. - oauth
Config IntegrationInstance Auth Config Oauth Config
- integration
Instance stringId - The
id
of the integration instance. - oauth
Config IntegrationInstance Auth Config Oauth Config
- integration_
instance_ strid - The
id
of the integration instance. - oauth_
config IntegrationInstance Auth Config Oauth Config Args
- integration
Instance StringId - The
id
of the integration instance. - oauth
Config Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the IntegrationInstanceAuthConfig resource produces the following output properties:
- string
- The URL where users are redirected to authorize access.
- Client
Id string - The OAuth client identifier.
- Id string
- The provider-assigned unique ID for this managed resource.
- Oauth
Auth IntegrationConfig Instance Auth Config Oauth Auth Config - Token
Endpoint string - The URL used to retrieve access tokens.
- string
- The URL where users are redirected to authorize access.
- Client
Id string - The OAuth client identifier.
- Id string
- The provider-assigned unique ID for this managed resource.
- Oauth
Auth IntegrationConfig Instance Auth Config Oauth Auth Config - Token
Endpoint string - The URL used to retrieve access tokens.
- String
- The URL where users are redirected to authorize access.
- client
Id String - The OAuth client identifier.
- id String
- The provider-assigned unique ID for this managed resource.
- oauth
Auth IntegrationConfig Instance Auth Config Oauth Auth Config - token
Endpoint String - The URL used to retrieve access tokens.
- string
- The URL where users are redirected to authorize access.
- client
Id string - The OAuth client identifier.
- id string
- The provider-assigned unique ID for this managed resource.
- oauth
Auth IntegrationConfig Instance Auth Config Oauth Auth Config - token
Endpoint string - The URL used to retrieve access tokens.
- str
- The URL where users are redirected to authorize access.
- client_
id str - The OAuth client identifier.
- id str
- The provider-assigned unique ID for this managed resource.
- oauth_
auth_ Integrationconfig Instance Auth Config Oauth Auth Config - token_
endpoint str - The URL used to retrieve access tokens.
- String
- The URL where users are redirected to authorize access.
- client
Id String - The OAuth client identifier.
- id String
- The provider-assigned unique ID for this managed resource.
- oauth
Auth Property MapConfig - token
Endpoint String - The URL used to retrieve access tokens.
Look up Existing IntegrationInstanceAuthConfig Resource
Get an existing IntegrationInstanceAuthConfig 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?: IntegrationInstanceAuthConfigState, opts?: CustomResourceOptions): IntegrationInstanceAuthConfig
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
authorization_endpoint: Optional[str] = None,
client_id: Optional[str] = None,
integration_instance_id: Optional[str] = None,
oauth_auth_config: Optional[IntegrationInstanceAuthConfigOauthAuthConfigArgs] = None,
oauth_config: Optional[IntegrationInstanceAuthConfigOauthConfigArgs] = None,
token_endpoint: Optional[str] = None) -> IntegrationInstanceAuthConfig
func GetIntegrationInstanceAuthConfig(ctx *Context, name string, id IDInput, state *IntegrationInstanceAuthConfigState, opts ...ResourceOption) (*IntegrationInstanceAuthConfig, error)
public static IntegrationInstanceAuthConfig Get(string name, Input<string> id, IntegrationInstanceAuthConfigState? state, CustomResourceOptions? opts = null)
public static IntegrationInstanceAuthConfig get(String name, Output<String> id, IntegrationInstanceAuthConfigState state, CustomResourceOptions options)
resources: _: type: konnect:IntegrationInstanceAuthConfig 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.
- string
- The URL where users are redirected to authorize access.
- Client
Id string - The OAuth client identifier.
- Integration
Instance stringId - The
id
of the integration instance. - Oauth
Auth IntegrationConfig Instance Auth Config Oauth Auth Config - Oauth
Config IntegrationInstance Auth Config Oauth Config - Token
Endpoint string - The URL used to retrieve access tokens.
- string
- The URL where users are redirected to authorize access.
- Client
Id string - The OAuth client identifier.
- Integration
Instance stringId - The
id
of the integration instance. - Oauth
Auth IntegrationConfig Instance Auth Config Oauth Auth Config Args - Oauth
Config IntegrationInstance Auth Config Oauth Config Args - Token
Endpoint string - The URL used to retrieve access tokens.
- String
- The URL where users are redirected to authorize access.
- client
Id String - The OAuth client identifier.
- integration
Instance StringId - The
id
of the integration instance. - oauth
Auth IntegrationConfig Instance Auth Config Oauth Auth Config - oauth
Config IntegrationInstance Auth Config Oauth Config - token
Endpoint String - The URL used to retrieve access tokens.
- string
- The URL where users are redirected to authorize access.
- client
Id string - The OAuth client identifier.
- integration
Instance stringId - The
id
of the integration instance. - oauth
Auth IntegrationConfig Instance Auth Config Oauth Auth Config - oauth
Config IntegrationInstance Auth Config Oauth Config - token
Endpoint string - The URL used to retrieve access tokens.
- str
- The URL where users are redirected to authorize access.
- client_
id str - The OAuth client identifier.
- integration_
instance_ strid - The
id
of the integration instance. - oauth_
auth_ Integrationconfig Instance Auth Config Oauth Auth Config Args - oauth_
config IntegrationInstance Auth Config Oauth Config Args - token_
endpoint str - The URL used to retrieve access tokens.
- String
- The URL where users are redirected to authorize access.
- client
Id String - The OAuth client identifier.
- integration
Instance StringId - The
id
of the integration instance. - oauth
Auth Property MapConfig - oauth
Config Property Map - token
Endpoint String - The URL used to retrieve access tokens.
Supporting Types
IntegrationInstanceAuthConfigOauthAuthConfig, IntegrationInstanceAuthConfigOauthAuthConfigArgs
- string
- The URL where users are redirected to authorize access.
- Client
Id string - The OAuth client identifier.
- Token
Endpoint string - The URL used to retrieve access tokens.
- string
- The URL where users are redirected to authorize access.
- Client
Id string - The OAuth client identifier.
- Token
Endpoint string - The URL used to retrieve access tokens.
- String
- The URL where users are redirected to authorize access.
- client
Id String - The OAuth client identifier.
- token
Endpoint String - The URL used to retrieve access tokens.
- string
- The URL where users are redirected to authorize access.
- client
Id string - The OAuth client identifier.
- token
Endpoint string - The URL used to retrieve access tokens.
- str
- The URL where users are redirected to authorize access.
- client_
id str - The OAuth client identifier.
- token_
endpoint str - The URL used to retrieve access tokens.
- String
- The URL where users are redirected to authorize access.
- client
Id String - The OAuth client identifier.
- token
Endpoint String - The URL used to retrieve access tokens.
IntegrationInstanceAuthConfigOauthConfig, IntegrationInstanceAuthConfigOauthConfigArgs
- string
- The URL where users are redirected to authorize access.
- Client
Id string - The OAuth client identifier.
- Client
Secret string - The OAuth client secret.
- Token
Endpoint string - The URL used to retrieve access tokens.
- string
- The URL where users are redirected to authorize access.
- Client
Id string - The OAuth client identifier.
- Client
Secret string - The OAuth client secret.
- Token
Endpoint string - The URL used to retrieve access tokens.
- String
- The URL where users are redirected to authorize access.
- client
Id String - The OAuth client identifier.
- client
Secret String - The OAuth client secret.
- token
Endpoint String - The URL used to retrieve access tokens.
- string
- The URL where users are redirected to authorize access.
- client
Id string - The OAuth client identifier.
- client
Secret string - The OAuth client secret.
- token
Endpoint string - The URL used to retrieve access tokens.
- str
- The URL where users are redirected to authorize access.
- client_
id str - The OAuth client identifier.
- client_
secret str - The OAuth client secret.
- token_
endpoint str - The URL used to retrieve access tokens.
- String
- The URL where users are redirected to authorize access.
- client
Id String - The OAuth client identifier.
- client
Secret String - The OAuth client secret.
- token
Endpoint String - The URL used to retrieve access tokens.
Import
$ pulumi import konnect:index/integrationInstanceAuthConfig:IntegrationInstanceAuthConfig my_konnect_integration_instance_auth_config "3f51fa25-310a-421d-bd1a-007f859021a3"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- konnect kong/terraform-provider-konnect
- License
- Notes
- This Pulumi package is based on the
konnect
Terraform Provider.